Click here to Skip to main content
15,916,457 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Dialogs - Background Color and Size/Positions Pin
Sarath C1-Aug-06 6:54
Sarath C1-Aug-06 6:54 
Hi John,
jparken wrote:
I can call CWinApp::SetDialogBkColor to set the background color for this dialog

As per the MSDN documentation, this function is obsolete. To set the background color of the dialog box, you must handle WM_CTLCOLOR. This message changes the color of the specified dialog box only.
jparken wrote:
What if I don't have an InitInstance() member function --- do I need to define one?

This function creating the primary thread (WinMain) for the application. without this function, your application will not be spawned.
jparken wrote:
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?

i dont know more about this. please refer MSDN for more information. I think it is not a beset practice to show login on two screens.





SaRath.

"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"

My Blog | Understanding State Pattern

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 
GeneralRe: CString to LPVOID Pin
Zac Howland1-Aug-06 6:05
Zac Howland1-Aug-06 6:05 

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.