Click here to Skip to main content
15,907,913 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
David Crow1-Aug-06 7:46
David Crow1-Aug-06 7:46 
QuestionRe: Opening a Picture File and displaying it in a pictureBox Pin
Hamid_RT1-Aug-06 9:27
Hamid_RT1-Aug-06 9:27 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
Bob X1-Aug-06 15:55
Bob X1-Aug-06 15:55 
QuestionWindows Authentication Pin
Programm3r1-Aug-06 6:59
Programm3r1-Aug-06 6:59 
QuestionRe: Windows Authentication Pin
David Crow1-Aug-06 7:23
David Crow1-Aug-06 7:23 
AnswerRe: Windows Authentication Pin
Ravi Bhavnani1-Aug-06 7:27
professionalRavi Bhavnani1-Aug-06 7:27 
GeneralRe: Windows Authentication Pin
Programm3r1-Aug-06 7:33
Programm3r1-Aug-06 7:33 
QuestionDialogs - Background Color and Size/Positions Pin
Reagan Conservative1-Aug-06 6:35
Reagan Conservative1-Aug-06 6:35 
I have a login dialog box that will need to be placed over two connected monitors.
1)I see in the MFC Library Reference that I can call CWinApp::SetDialogBkColor to set the background color for this dialog, but exactly how is this called? What if I don't have an InitInstance() member function --- do I need to define one?

2)Also, the login dialog must be modal so that access cannot be gained until an ID and PIN are valid. Is there a way to call two objects of the login dialog and have each one placed over each monitor?

3) Can a dialog box be positioned using CWnd::SetWindowPos(.....). If so, how is this accomplished with two monitors?

Thanks for the assistance.



John P.

AnswerRe: Dialogs - Background Color and Size/Positions Pin
Sarath C1-Aug-06 6:54
Sarath C1-Aug-06 6:54 
GeneralRe: Dialogs - Background Color and Size/Positions Pin
Reagan Conservative1-Aug-06 7:02
Reagan Conservative1-Aug-06 7:02 
GeneralRe: Dialogs - Background Color and Size/Positions Pin
Sarath C1-Aug-06 17:33
Sarath C1-Aug-06 17:33 
AnswerRe: Dialogs - Background Color and Size/Positions Pin
Hamid_RT2-Aug-06 9:41
Hamid_RT2-Aug-06 9:41 
QuestionCString to LPVOID Pin
EpicYeti1-Aug-06 5:28
EpicYeti1-Aug-06 5:28 
AnswerRe: CString to LPVOID Pin
David Crow1-Aug-06 5:38
David Crow1-Aug-06 5:38 
GeneralRe: CString to LPVOID Pin
EpicYeti1-Aug-06 5:52
EpicYeti1-Aug-06 5:52 
QuestionRe: CString to LPVOID Pin
David Crow1-Aug-06 5:59
David Crow1-Aug-06 5:59 
AnswerRe: CString to LPVOID Pin
EpicYeti1-Aug-06 7:03
EpicYeti1-Aug-06 7:03 
QuestionRe: CString to LPVOID Pin
David Crow1-Aug-06 7:22
David Crow1-Aug-06 7:22 
AnswerRe: CString to LPVOID Pin
EpicYeti1-Aug-06 7:35
EpicYeti1-Aug-06 7:35 
GeneralRe: CString to LPVOID Pin
David Crow1-Aug-06 7:43
David Crow1-Aug-06 7:43 
GeneralRe: CString to LPVOID [modified] Pin
EpicYeti1-Aug-06 9:35
EpicYeti1-Aug-06 9:35 
GeneralRe: CString to LPVOID Pin
Zac Howland1-Aug-06 8:43
Zac Howland1-Aug-06 8:43 
GeneralRe: CString to LPVOID Pin
EpicYeti1-Aug-06 9:38
EpicYeti1-Aug-06 9:38 
GeneralRe: CString to LPVOID Pin
Zac Howland1-Aug-06 10:02
Zac Howland1-Aug-06 10:02 
GeneralRe: CString to LPVOID Pin
EpicYeti1-Aug-06 10:57
EpicYeti1-Aug-06 10:57 

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.