Author Topic: Notify control  (Read 2176 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Notify control
« on: December 03, 2011, 09:41:14 AM »
Hi...
I just find some time for my include GUI file and i try to add WM_NOTIFY to
controls especialy for button.
In another words i want when i add xpmanifest to my exe that button or
any other control respond on theme style.
In EB i use
IF @nofiycontrol=0
if ID
....
....
....
endif
ENDIF
and works perfect.
So my question is how link nofification messages with controls?
any suggestion are welcome... ;)

Aurel

Charles Pegge

  • Guest
Re: Notify control
« Reply #1 on: December 03, 2011, 03:12:27 PM »

Hi Aurel,

I am not a windows expert. Are you usng callbacks or custom controls?

The standard controls send WM_COMMAND messages back to the parent window.

Peter

  • Guest
Re: Notify control
« Reply #2 on: December 03, 2011, 04:20:01 PM »
Hi Aurel,

for toolbar:

We just need to assign each button an ID (ID_FILE_NEW etc…) which is identical
to the IDs of the equivalent menu items. These buttons will generate WM_COMMAND
messages identical to the menu, so no extra processing is required! If we were
adding a button for a command that didn’t already have a menu item, we would
simply pick a new ID for it and add a handler to WM_COMMAND.

Aurel

  • Guest
Re: Notify control
« Reply #3 on: December 04, 2011, 02:56:14 PM »
No custom controls just standard windows classes for controls.
I know that WM_COMMAND sand message to parent but under manifested exe.
Standard button is simply blocked ,it have xp look( themed look) but not respond.
OK i will see what would be the solution.

thanks on replay... ;)

JRS

  • Guest
Re: Notify control
« Reply #4 on: December 04, 2011, 03:20:06 PM »
It would be helpful if you would post some code.