Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling an existing form from another existing form Pin
regnwald6-Feb-09 15:31
regnwald6-Feb-09 15:31 
QuestionOperating system location (drive letter) Pin
FloatingMarc5-Feb-09 15:00
FloatingMarc5-Feb-09 15:00 
AnswerRe: Operating system location (drive letter) Pin
PIEBALDconsult5-Feb-09 15:18
mvePIEBALDconsult5-Feb-09 15:18 
AnswerRe: Operating system location (drive letter) Pin
David Crow5-Feb-09 15:26
David Crow5-Feb-09 15:26 
GeneralRe: Operating system location (drive letter) Pin
FloatingMarc5-Feb-09 19:41
FloatingMarc5-Feb-09 19:41 
Questionpointer help Pin
yellowine5-Feb-09 13:48
yellowine5-Feb-09 13:48 
AnswerRe: pointer help Pin
Saurabh.Garg5-Feb-09 15:23
Saurabh.Garg5-Feb-09 15:23 
QuestionTab control - the big fight Pin
daavena5-Feb-09 11:02
daavena5-Feb-09 11:02 
Hi,

I am fighting with tab control. I can not show a dialog from resource on a tab control. I don't use MFC. I have two dialogs main with tab control and second:

///definition of my second dialog from resource file
IDD_LOADPROFILE DIALOGEX 0, 0, 87, 46
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT

on this message I am trying to show second dialog
case WM_INITDIALOG:
TCITEM tc;
tc.mask = TCIF_TEXT | TCIF_PARAM;
tc.pszText = "Current setting";
tc.lParam = IDD_LOADPROFILE;/// this is ID from my resource

SendDlgItemMessage(hDlg,IDC_TAB1,TCM_INSERTITEM,0,(LPARAM)&tc);

I see only the tab with label "Current settings", but I dont see second dialog.

Thank you very much.
AnswerRe: Tab control - the big fight Pin
Jonathan Davies5-Feb-09 12:22
Jonathan Davies5-Feb-09 12:22 
QuestionResource Problems Pin
Largo Usagi5-Feb-09 9:19
Largo Usagi5-Feb-09 9:19 
AnswerRe: Resource Problems Pin
Stuart Dootson5-Feb-09 9:55
professionalStuart Dootson5-Feb-09 9:55 
Questionwin API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 8:13
mgbrain5-Feb-09 8:13 
AnswerRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 9:46
professionalStuart Dootson5-Feb-09 9:46 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 9:56
mgbrain5-Feb-09 9:56 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 10:12
professionalStuart Dootson5-Feb-09 10:12 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 10:27
mgbrain5-Feb-09 10:27 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 10:36
professionalStuart Dootson5-Feb-09 10:36 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:00
mgbrain5-Feb-09 11:00 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 11:08
professionalStuart Dootson5-Feb-09 11:08 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:25
mgbrain5-Feb-09 11:25 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 11:32
professionalStuart Dootson5-Feb-09 11:32 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:39
mgbrain5-Feb-09 11:39 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
David Crow5-Feb-09 15:32
David Crow5-Feb-09 15:32 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 19:53
professionalStuart Dootson5-Feb-09 19:53 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
David Crow5-Feb-09 15:31
David Crow5-Feb-09 15:31 

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.