Click here to Skip to main content
15,917,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can i get this event what the virtual address of my process be changed by the windows?? Pin
zx_sanjin30-Dec-03 14:54
zx_sanjin30-Dec-03 14:54 
QuestionHow to develop pluggable application? Pin
Anonymous30-Dec-03 14:53
Anonymous30-Dec-03 14:53 
AnswerRe: How to develop pluggable application? Pin
Monty230-Dec-03 18:47
Monty230-Dec-03 18:47 
GeneralRe: How to develop pluggable application? Pin
Anonymous31-Dec-03 3:55
Anonymous31-Dec-03 3:55 
AnswerRe: How to develop pluggable application? Pin
Roger Allen1-Jan-04 23:51
Roger Allen1-Jan-04 23:51 
GeneralWindow background subclassing Pin
mdb30-Dec-03 11:24
mdb30-Dec-03 11:24 
Generaldialog boxes Pin
HackerBoy30-Dec-03 10:45
HackerBoy30-Dec-03 10:45 
GeneralRe: dialog boxes Pin
yodlee9930-Dec-03 11:37
yodlee9930-Dec-03 11:37 
This is just 1 way of creating the dialog box easily. Smile | :)
-Ganesh
------------------
1)With your project open, from the Insert menu, click Resource.
2)In the Insert Resource dialog box, select Dialog from the list of resource types and click OK. A default dialog box with two buttons labeled OK and Cancel opens up along with a Controls toolbar.
3)Right-click the dialog box, then click Properties on the menu. Click the pushpin on the property page to keep it open.
4)Select a ID for the box from the drop-down menu or name one yourself. select a caption name for the caption box.
5)Save your work.

Now, that you have the basic setup, you can add any # of controls from the controls box.
6) For every control added from the Control box (eg., Button, edit box, static text control) give a unique ID and a nice caption
7) create a new class which has CDialog as its base class.
8) Using Wizardbar> Add Windows Message Handler>, select the ID of the button in "Class or object to handle" menu inside the "New Windows messages to handle" box.
9) Select the appropriate message (eg.,for a button select BN_CLICKED or BN_DOUBLECLICKED) and the click "Add/Edit". say OK.

Now, your dialog box is ready with a frame. To give it life, connect each and every variable to the member variable in the function.
10) View> ClassWizard> ClassName>
select ID and click Add Variable button. In the Member variable name box, specify the variable name you use in your project. From the Variable type list box, click its type and click OK to add the member variable to the class.

You are all set now.
GeneralRe: dialog boxes Pin
Ravi Bhavnani30-Dec-03 11:59
professionalRavi Bhavnani30-Dec-03 11:59 
GeneralAmount of RAM on a remote machine Pin
orcun colak30-Dec-03 10:38
orcun colak30-Dec-03 10:38 
GeneralRe: Amount of RAM on a remote machine Pin
Balkrishna Talele30-Dec-03 21:45
Balkrishna Talele30-Dec-03 21:45 
Generalblt and directx Pin
ns30-Dec-03 9:33
ns30-Dec-03 9:33 
GeneralExe files Pin
HackerBoy30-Dec-03 7:56
HackerBoy30-Dec-03 7:56 
GeneralRe: Exe files Pin
User 665830-Dec-03 8:17
User 665830-Dec-03 8:17 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 8:24
HackerBoy30-Dec-03 8:24 
GeneralRe: Exe files Pin
User 665830-Dec-03 8:26
User 665830-Dec-03 8:26 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 8:54
HackerBoy30-Dec-03 8:54 
GeneralRe: Exe files Pin
Roger Wright30-Dec-03 9:43
professionalRoger Wright30-Dec-03 9:43 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 9:55
HackerBoy30-Dec-03 9:55 
GeneralRe: Exe files Pin
Roger Wright30-Dec-03 10:22
professionalRoger Wright30-Dec-03 10:22 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 10:35
HackerBoy30-Dec-03 10:35 
GeneralRe: Exe files Pin
Roger Wright30-Dec-03 11:00
professionalRoger Wright30-Dec-03 11:00 
GeneralRe: Exe files Pin
Niall Barr30-Dec-03 11:28
professionalNiall Barr30-Dec-03 11:28 
GeneralRe: Exe files Pin
Michael P Butler30-Dec-03 8:50
Michael P Butler30-Dec-03 8:50 
GeneralVisual C++ .NET and bug with warnings Pin
Mendicant30-Dec-03 6:37
Mendicant30-Dec-03 6:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.