Click here to Skip to main content
16,018,092 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello friends,
How do I drag and drop the dynamically created button in MFC dialog(dialog is the main window).any solution in ole drag and drop the control (button) in the same dialog.
can any one please help .

thanks in advance.
Beginner.

What I have tried:

I created the button dynamically by calling the CButton::Create()
in MFC dialog window

after that I do not know how to drag and drop the button in the same dialog.
Posted
Updated 13-Jul-22 22:25pm

1 solution

You already posted this question at VC++/MFC - C / C++ / MFC Discussion Boards[^], and received some suggestions. Please do not repost the same question.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900