Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to keep a C++ com dll in memory (repost) Pin
Anonymously12-Apr-03 5:21
Anonymously12-Apr-03 5:21 
GeneralResource Editor gone weird. Pin
JohnMcL11-Apr-03 10:42
JohnMcL11-Apr-03 10:42 
GeneralProblems with MessageBox Pin
mnjobes11-Apr-03 10:26
mnjobes11-Apr-03 10:26 
QuestionHi, Maximilien. I'm hkbeckham. Could I have your email addres? Pin
hkbeckham11-Apr-03 9:02
hkbeckham11-Apr-03 9:02 
GeneralClear Files Pin
gmlnd11-Apr-03 8:36
gmlnd11-Apr-03 8:36 
GeneralRe: Clear Files Pin
Brian Shifrin11-Apr-03 20:53
Brian Shifrin11-Apr-03 20:53 
GeneralBitmapButton Pin
bumper11-Apr-03 8:01
bumper11-Apr-03 8:01 
GeneralRe: BitmapButton Pin
Big Art13-Apr-03 7:45
Big Art13-Apr-03 7:45 
From MSDN...

To include a bitmap-button control in a dialog box

1. Create one to four bitmap images for the button.

2. Create a dialog template with an owner-draw button positioned where you want the bitmap button. The size of the button in the template does not matter.

3. Set the button's caption to a value such as "MYIMAGE" and define a symbol for the button such as IDC_MYIMAGE.

4. In your application's resource script, give each of the images created for the button an ID constructed by appending one of the letters "U," "D," "F," or "X" (for up, down, focused, and disabled) to the string used for the button caption in step 3. For the button caption "MYIMAGE," for example, the IDs would be "MYIMAGEU," "MYIMAGED," "MYIMAGEF," and "MYIMAGEX." You must specify the ID of your bitmaps within double quotes. Otherwise the resource editor will assign an integer to the resource and MFC will fail when loading the image.

5. In your application's dialog class (derived from CDialog), add a CBitmapButton member object.

6. In the CDialog object's OnInitDialog routine, call the CBitmapButton object's AutoLoad function, using as parameters the button's control ID and the CDialog object's this pointer.

End MSDN...

Art

Question:confused::confused:How to create a vertical CTabCtrl control?? Pin
psusong11-Apr-03 7:52
psusong11-Apr-03 7:52 
AnswerRe: :confused::confused:How to create a vertical CTabCtrl control?? Pin
Ravi Bhavnani11-Apr-03 9:38
professionalRavi Bhavnani11-Apr-03 9:38 
GeneralRe: :confused::confused:How to create a vertical CTabCtrl control?? Pin
psusong11-Apr-03 11:47
psusong11-Apr-03 11:47 
GeneralFont Coloring Preview Pin
Jonah Bishop11-Apr-03 6:56
Jonah Bishop11-Apr-03 6:56 
GeneralRe: Font Coloring Preview Pin
Ravi Bhavnani11-Apr-03 7:06
professionalRavi Bhavnani11-Apr-03 7:06 
GeneralRe: Font Coloring Preview Pin
Jonah Bishop11-Apr-03 7:40
Jonah Bishop11-Apr-03 7:40 
GeneralC++ tokenizer Pin
naja11-Apr-03 6:05
naja11-Apr-03 6:05 
GeneralRe: C++ tokenizer Pin
Toni7811-Apr-03 22:50
Toni7811-Apr-03 22:50 
QuestionHow can I get the IP of my server? Pin
Salvador Dali11-Apr-03 5:17
Salvador Dali11-Apr-03 5:17 
AnswerRe: How can I get the IP of my server? Pin
Peter Weyzen11-Apr-03 6:35
Peter Weyzen11-Apr-03 6:35 
GeneralRe: How can I get the IP of my server? Pin
Salvador Dali11-Apr-03 7:17
Salvador Dali11-Apr-03 7:17 
GeneralRe: How can I get the IP of my server? Pin
Peter Weyzen11-Apr-03 7:28
Peter Weyzen11-Apr-03 7:28 
GeneralRe: How can I get the IP of my server? Pin
Salvador Dali11-Apr-03 22:42
Salvador Dali11-Apr-03 22:42 
GeneralMulti-dimensional Arrays Pin
ed111-Apr-03 4:44
ed111-Apr-03 4:44 
GeneralRe: Multi-dimensional Arrays Pin
valikac11-Apr-03 4:50
valikac11-Apr-03 4:50 
GeneralRe: Multi-dimensional Arrays Pin
Martyn Pearson11-Apr-03 5:31
Martyn Pearson11-Apr-03 5:31 
GeneralRe: Multi-dimensional Arrays Pin
ed111-Apr-03 5:58
ed111-Apr-03 5:58 

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.