So, I have coded a floating window
- No borde
- No ControlBo
And I've added the WS_CAPTION style with the OpenNETCF SDF, the window is really floating, I can move it, it has a title bar
Everything is perfect except the title of the floating window is also displayed on the top PPC title bar
Any ideay how to avoid this problem ? I thought of overriding the Text property, but 'm not sure this will fix the problem.
It's a behavior of the PPC. In fact the title bar you see is it's own
separate window, not a control bar of any particular window, and I don't
think there's a way to stop the behavior short of hiding it or not setting a
caption in your own window.
-Chris
Romu said:
Sorry bad action.
So, I have coded a floating window :
- No border
- No ControlBox
And I've added the WS_CAPTION style with the OpenNETCF SDF, the window is
Chris, I don't think I really understand your answer (probably my limited English level, sorry)
I've software on my PPC (Advanced Explorer for instance) which doesn't display the popup title on the top PPC bar. The top bar keeps the title of the application even if a popup is displayed
So it's surely possible to implement that behaviour. The question is how ?
It also wasn't written in a managed language. To get a popup that is
moveable in the CF you must do some style hacking. The underlying framework
doesn't know you've done the hacks. I know exactly the behavior you're
talking about. I admit I didn't work long on getting rid of it, but in my
testing I saw the same.
display the popup title on the top PPC bar. The top bar keeps the title of
the application even if a popup is displayed.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.