In Ln I found the following stylbits command "WS_EX_CONTEXTHELP" this command would cause a window to act as a dialog would. It would only allow input to the window that was open. Maybe every body already knows this. If I were going to write it in CB would it be "@WS_EX_CONTEXTHELP"? Would I need to define it as a constant.
Thanks
Texas Pete
I don't know if it is predefined in CB or not.
Try it with the @. If that doesn't work then define it as a constant.
And WS_EX_CONTEXTHELP is a constant and not a command.
Larry
you will have to set it as a constant, as it is not pre-defined. Also, you cannot use it in the window creation function, you will have to apply it to the window after the window is created using the SetWindowLong API function using the GWL_EXSTYLE flag. This flag is used to append the little "?" to the top right of the window, which is used to supply context help for controls on the window. I was toying around with this a short while ago, but I was having problems getting it to respond to the messages. I'll toy around with again when I get home and see what I can come up with.
Thanks ZERODOG and Larry,
I will have to look up what it is supposed to be defined to.
Texas Pete