Tuesday, November 21st 2017, 7:12am UTC+1

You are not logged in.

  • Login
  • Register

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)