Oxygen Basic
Programming => Problems & Solutions => Topic started by: Aurel 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
-
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.
-
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.
-
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... ;)
-
It would be helpful if you would post some code.