Click here to Skip to main content
16,005,491 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delete Operator? Pin
Hans Ruck26-Feb-03 21:36
Hans Ruck26-Feb-03 21:36 
GeneralRe: Thanks.. Pin
anju27-Feb-03 0:13
anju27-Feb-03 0:13 
AnswerRe: delete Operator? Pin
Johnny ²26-Feb-03 21:36
Johnny ²26-Feb-03 21:36 
GeneralDisable the Default Pop-up Menu for CHtmlView Pin
lukmyt26-Feb-03 19:39
lukmyt26-Feb-03 19:39 
GeneralRe: Disable the Default Pop-up Menu for CHtmlView Pin
HENDRIK R26-Feb-03 22:00
HENDRIK R26-Feb-03 22:00 
GeneralAbout #pragma Pin
IMiracle26-Feb-03 18:54
IMiracle26-Feb-03 18:54 
GeneralRe: About #pragma Pin
berndg26-Feb-03 20:57
berndg26-Feb-03 20:57 
GeneralDialog Image Control Pin
lead2gold26-Feb-03 16:49
lead2gold26-Feb-03 16:49 
Everytime I post something on here, I get the greatest advice. So I'm here to abuse the system again! Smile | :)

Lets say I have a dialog I created.."We'll call it 'Dialog'"

Is there some way before I call Dialog.DoModal() that i can preset what "icon" i want to load at a specific spot

for example.. i have 4 icons, each of them having a number. (ie, 1 icon has the numerical 1 on it, another has a numerical 2 on it, ect)

I want to be able to load the icon based on a selection a user made on a previous window.

as an example:

GET NUMBER

IF NUMBER == 1
Dialog.icon=icon001.ico
ELSE IF NUMBER == 2
Dialog.icon=icon002.ico
END IF

Dialog.DoModal()



lead2gold
GeneralRe: Dialog Image Control Pin
Chris Richardson26-Feb-03 17:19
Chris Richardson26-Feb-03 17:19 
GeneralRe: Dialog Image Control Pin
lead2gold27-Feb-03 16:48
lead2gold27-Feb-03 16:48 
GeneralRe: Dialog Image Control Pin
Chris Richardson27-Feb-03 17:02
Chris Richardson27-Feb-03 17:02 
GeneralRe: Dialog Image Control Pin
ashxly26-Feb-03 18:17
ashxly26-Feb-03 18:17 
GeneralRe: Dialog Image Control Pin
Chris Richardson27-Feb-03 17:02
Chris Richardson27-Feb-03 17:02 
GeneralExit codes... Pin
el davo26-Feb-03 16:49
el davo26-Feb-03 16:49 
GeneralRe: Exit codes... Pin
-Dy27-Feb-03 4:02
-Dy27-Feb-03 4:02 
GeneralRe: Exit codes... Pin
el davo27-Feb-03 13:09
el davo27-Feb-03 13:09 
GeneralRe: Exit codes... Pin
-Dy27-Feb-03 22:41
-Dy27-Feb-03 22:41 
GeneralVC++ CFileSave Pin
arungorur26-Feb-03 15:48
arungorur26-Feb-03 15:48 
GeneralRe: VC++ CFileSave Pin
Dave Bryant26-Feb-03 16:20
Dave Bryant26-Feb-03 16:20 
GeneralRe: VC++ CFileSave Pin
arungorur26-Feb-03 16:40
arungorur26-Feb-03 16:40 
QuestionHelp files and install directory?? Pin
work_to_live26-Feb-03 15:26
work_to_live26-Feb-03 15:26 
AnswerRe: Help files and install directory?? Pin
ashxly26-Feb-03 18:33
ashxly26-Feb-03 18:33 
GeneralRe: Help files and install directory?? Pin
work_to_live27-Feb-03 5:14
work_to_live27-Feb-03 5:14 
GeneralRe: Help files and install directory?? Pin
ashxly20-Mar-03 23:37
ashxly20-Mar-03 23:37 
GeneralMFC:OnLButtonDown() Pin
Lin_d_200026-Feb-03 13:15
sussLin_d_200026-Feb-03 13:15 

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.