plz help::Onclick event
-
Hi!!Actually i am newbie in this VC++ area and for my project i want to make a button and onclick some page will open.i know that there is a class called CButton but don't know how to use this.:(( Thanks in advance
-
Hi!!Actually i am newbie in this VC++ area and for my project i want to make a button and onclick some page will open.i know that there is a class called CButton but don't know how to use this.:(( Thanks in advance
use mfc wizard to do these things for u...for more, search web or buy some "newbie" book "Do first things first, and second things not at all." — Peter Drucker.
-
Hi!!Actually i am newbie in this VC++ area and for my project i want to make a button and onclick some page will open.i know that there is a class called CButton but don't know how to use this.:(( Thanks in advance
If u r trying by SDK then u need some books to refer fist . If u use a MFC ,then Use a class wizard to create a new project in MFC (SDI) Then create a dialog box from resource editor ,create a class for ur dialog box say CDlg_myname . Create a Object of the dialogbox class and use this code in ur CMainFrm OnShow() event . CDlg_myname dlg1; Dlg1.DoModel(); :cool: Vikas Amin Embin Technology Bombay vikas.amin@embin.com
-
Hi!!Actually i am newbie in this VC++ area and for my project i want to make a button and onclick some page will open.i know that there is a class called CButton but don't know how to use this.:(( Thanks in advance
on the resource editor, you can drag a button from the toolbox to your dialog resource, give it an explicit ID and then double click on it to access its OnClick event handler... there, add the code that is to be executed when the button is clicked on...
SushantM wrote:
some page will open
what do you mean by this ?
TOXCCT >>> GEII power
[toxcct][VisualCalc] -
on the resource editor, you can drag a button from the toolbox to your dialog resource, give it an explicit ID and then double click on it to access its OnClick event handler... there, add the code that is to be executed when the button is clicked on...
SushantM wrote:
some page will open
what do you mean by this ?
TOXCCT >>> GEII power
[toxcct][VisualCalc]