How can I create a button or any other control on a regular window? The controls are suited for dialog boxes, and have several problems with windows. Even in the MSDN, they write that you should use the controls in dialog boxes.
I can create the button in that way, but the button behaves strange. For example, the button doesn't show up before I click on "him" (on the area in which he supposed to be).
And in the MSDN, they write that "good" behavior of a button in a window isn't garanteed.
alex, did you solve your problem ? i'm looking for the same info - as far as i went i didn't get much !!!!
i can create the button, i see the button, but it only reacts once in a while to user's click (actually, once (but not the 1st time) and then no more)
i'm trying to attach some kind of a "control container" (ah ah ah haven't found yet which class is more suitable to handle that !!!) to my window, but i'll be stuck very soon :-(
hey ! i found out
msdn library -> windows ce doc -> user interface services -> creating controls This section explains how to add window, common, and Windows CE–specific controls to windows and dialog boxes. It also explains how to handle control notification messages. The window controls discussed here include buttons, combo boxes, edit controls, list boxes, scroll bars, and static controls.(...)Controls are most often placed within dialog boxes, but they can also be placed directly on the surface of a normal window client area. (...)
s-)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.