开发者

How to create a Minimize button in WinCE dialog based application

I created a WinCE dialog based application. I want to add minimize option at the top right corner.

If i create an MFC dialog based application, a checkbox will be present for Minimize button asking whether minimize is required for the 开发者_如何学JAVAdialog being created.

But if i create MFC Application for SmartDevice, minimize checkbox will not be given at the time of creation of project. Also, Minimize property is not present in properties list of the Dialog.

Pls help me in solving the issue.


This is becasue WIndows Mobile doesn't really have the concept of minimizing and app to the task bar (as there is no task bar).

WinMo has "smart minimize" meaning which means that the Windows doesn't close, but instead moves back in the Z-Order, yes is still subject to closing by the OS if memory pressure gets high.

If you set the WS_MINIMIZEBOX style bit, you will get an (X) in the upper right, which is the smart-minimize button. If that bit is not set you will get an (ok) button, which fully closes the window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜