tags:

views:

410

answers:

3

I have created a "check Box " window with a button, when the button is clicked, It should open a "Edit" window, How can I do?

thanks

A: 

You could instanciate a new window and show it on the click event

Danmaxis
+1  A: 

It depends completely on the windowing system you are using, or the graphics library. ¿Are you using .NET? ¿MFC?

In any case, your button object will have a way to associate a function to its click event. Just write a function that does what you need (in this case, open the "Edit" window), associate this function to the click event of your button, and you are done.

Gorpik
+1  A: 

Make your edit window hidden by default in the resource editor and show it with ShowWindow(hEditWnd,SW_SHOW) when the button is clicked.

Ryan