always on top style?
im trying to make a button but my program is drawing to the screen and the button is getting erased. i know its being created because i turned off the program code and the button is there and functioning.
is there a style with the CreateWindow function that specifies always on top? i looked through the docs and couldnt find one.
there is the style for dialogs
but for a control ? The parent dialogs z-order is important not the controls.
SetWindowPos() and modify the z-order, HWND_TOPMOST will put the dialog on top of ALL other windows even if the focus changes.
HWND_TOP just puts it there temporarily.
I have dialogs covered with a skin (texture) and the controls show thru without need to do anything.