VC++/MFC
-
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog. please answer with complete MFC code. by gopal
-
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog. please answer with complete MFC code. by gopal
Uhhh...nobody is going to write your code for you. mfc add button to dialog - Google Search[^]
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog. please answer with complete MFC code. by gopal
Member 14869339 wrote:
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog.
Do you mean the dialog resource editor or you'd like to "drag and drop" existing controls within your running application?
-
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog. please answer with complete MFC code. by gopal
And at some point, you're going to demand a job too, right?
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog. please answer with complete MFC code. by gopal
-
Member 14869339 wrote:
how to create a button in mfc dialog and drag and drop the button or any control in the same dialog.
Do you mean the dialog resource editor or you'd like to "drag and drop" existing controls within your running application?
i mean, create a button or checkbox dynamically on MFC dialog window(not sdi or mdi) and drag and drop that button on the same dialog.(dialog is main window). thanks in advance.
-
i mean, create a button or checkbox dynamically on MFC dialog window(not sdi or mdi) and drag and drop that button on the same dialog.(dialog is main window). thanks in advance.
-
i mean, create a button or checkbox dynamically on MFC dialog window(not sdi or mdi) and drag and drop that button on the same dialog.(dialog is main window). thanks in advance.
To create "a button or checkbox dynamically on MFC ... window" you do the following steps: 1. create a variable of the CButton class 2. Call CButton::Create method to create a button or checkbox window. That's all. You only need to read the Microsoft Docs and know the exact size and position of your button within the parent (dialog or form view or some other) window.