Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 1:17
Sarath C26-Jun-06 1:17 
GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 1:17
Sangeetha Jayaraman26-Jun-06 1:17 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 1:48
Sarath C26-Jun-06 1:48 
GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 1:55
Sangeetha Jayaraman26-Jun-06 1:55 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 2:08
Sarath C26-Jun-06 2:08 
Questionhow to set background color to the Dlg?? Pin
mimimimilaw25-Jun-06 22:17
mimimimilaw25-Jun-06 22:17 
AnswerRe: how to set background color to the Dlg?? Pin
lidujun200825-Jun-06 22:30
lidujun200825-Jun-06 22:30 
GeneralRe: how to set background color to the Dlg?? Pin
lidujun200825-Jun-06 22:34
lidujun200825-Jun-06 22:34 
Example

// AppWizard implements the InitInstance overridable function
// according to options you select. For example, the single document
// interface (SDI) option was chosen for the AppWizard code created
// below. You can add other per-instance initializations to the code
// created by AppWizard.

BOOL CMyApp::InitInstance()
{
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.

SetDialogBkColor(COLORREF clrCtlBk = RGB(192, 192, 192), COLORREF clrCtlText = RGB(0, 0, 255) ); // Set dialog background color to gray
LoadStdProfileSettings(); // Load standard INI file options (including MRU)

// Register the application's document templates. Document templates
// serve as the connection between documents, frame windows and views.

CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CMyDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
RUNTIME_CLASS(CMyView));
AddDocTemplate(pDocTemplate);

// create a new (empty) document
OnFileNew();

if (m_lpCmdLine[0] != '\0')
{
// TODO: add command line processing here
}

return TRUE;
}
GeneralRe: how to set background color to the Dlg?? [modified] Pin
Viorel.25-Jun-06 22:38
Viorel.25-Jun-06 22:38 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 23:00
Hamid_RT25-Jun-06 23:00 
GeneralRe: how to set background color to the Dlg?? Pin
Viorel.25-Jun-06 23:19
Viorel.25-Jun-06 23:19 
AnswerRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 22:31
Hamid_RT25-Jun-06 22:31 
GeneralRe: how to set background color to the Dlg?? Pin
Sarath C25-Jun-06 22:49
Sarath C25-Jun-06 22:49 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 22:58
Hamid_RT25-Jun-06 22:58 
GeneralRe: how to set background color to the Dlg?? Pin
Sarath C25-Jun-06 23:23
Sarath C25-Jun-06 23:23 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 23:36
Hamid_RT25-Jun-06 23:36 
AnswerRe: how to set background color to the Dlg?? Pin
ovidiucucu26-Jun-06 1:43
ovidiucucu26-Jun-06 1:43 
Question"Force file output" option in Visual Studio.NET Pin
dashprasannajit25-Jun-06 22:07
dashprasannajit25-Jun-06 22:07 
AnswerRe: "Force file output" option in Visual Studio.NET Pin
Viorel.25-Jun-06 22:25
Viorel.25-Jun-06 22:25 
Questionregarding FileDialog Pin
happy_ram25-Jun-06 21:32
happy_ram25-Jun-06 21:32 
AnswerRe: regarding FileDialog Pin
kakan25-Jun-06 21:36
professionalkakan25-Jun-06 21:36 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 21:42
happy_ram25-Jun-06 21:42 
GeneralRe: regarding FileDialog Pin
kakan25-Jun-06 21:49
professionalkakan25-Jun-06 21:49 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 22:20
happy_ram25-Jun-06 22:20 
GeneralRe: regarding FileDialog Pin
kakan25-Jun-06 22:27
professionalkakan25-Jun-06 22:27 

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.