I think there is a easy way to do that. At the beginning of you code, you can add the code to show the password dialog, if password true, run continuously, if not exit. skybird
skybirdcao
Posts
-
How to add a password to a .exe file? -
Why toolbar disabled?I use a CToolBar control in a dialog to load a bitmap as a group buttons.
And if I use the dialog as main dialog (pop up dialog), the toolbar can work normally,
but question is: if a use the dialog as a child window (WS_CHILD), created by a parent dialog.
then the toolbar can't be used.
I find the way to update dialog UI, but it can't work.
So I think some messages to the dialog filtered by its parent window. But I can't find them, and get a solution:confused:.
If you can solve the problem:laugh:, or give me some tips:zzz:! Thannks Very Much!skybird
-
a big challenge: how to control toolbar's button size?I have big problem:
when I use CToolBarCtrl. I load a bitmap as a toolbar, and set button size as size (16, 15). At the beginning, the program run normally, but sometimes, the toolbar's button change bigger,
I don't know why.The details link is: http://www.codeproject.com/miscctrl/PropEditor.asp
Maybe if you are a guru:cool:, or want have a try:^). Help me! Thank you very much!;P
skybird