Friday, November 24th 2017, 9:18pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

mmetzger

Beginner

Date of registration: Apr 1st 2016

Posts: 4

1

Friday, April 1st 2016, 11:55am

[Solved] EmWin Header prevent dragging

Hello,

I'm using HEADER in the STEmWin library. I found several functions and also the configuration option "HEADER_SUPPORT_DRAG".

How can I use this? I want to make my Header non moveable and draggable and sizable, just fix.

Best regards
Marco

This post has been edited 1 times, last edit by "mmetzger" (Apr 1st 2016, 4:11pm)


byteblaster

Beginner

Date of registration: Jun 19th 2014

Posts: 7

2

Friday, April 1st 2016, 3:52pm

WM_DisableWindow(hHeader);

mmetzger

Beginner

Date of registration: Apr 1st 2016

Posts: 4

3

Friday, April 1st 2016, 4:02pm

Firstly thanks, but I have other items in the window.

I just want to block moving, dragging and resizing the HEADER widget.

mmetzger

Beginner

Date of registration: Apr 1st 2016

Posts: 4

4

Friday, April 1st 2016, 4:09pm

Solved

Sorry, was too fast.

This works perfect, thanks.

This post has been edited 1 times, last edit by "mmetzger" (Apr 1st 2016, 4:10pm)