Click here to Skip to main content
15,901,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: m_bAutoDelete and doc class Pin
nss26-Jul-02 19:59
nss26-Jul-02 19:59 
GeneralNewbie: Referencing several controls Pin
26-Jul-02 7:37
suss26-Jul-02 7:37 
GeneralRe: Newbie: Referencing several controls Pin
Chris Losinger26-Jul-02 8:04
professionalChris Losinger26-Jul-02 8:04 
GeneralRe: Newbie: Referencing several controls Pin
26-Jul-02 8:45
suss26-Jul-02 8:45 
GeneralRe: Newbie: Referencing several controls Pin
Joel Lucsy26-Jul-02 18:24
Joel Lucsy26-Jul-02 18:24 
Generalpopulating a multiline edit, or Crichedit Pin
nss26-Jul-02 7:28
nss26-Jul-02 7:28 
GeneralRe: populating a multiline edit, or Crichedit Pin
nss26-Jul-02 7:51
nss26-Jul-02 7:51 
GeneralInset Dialog Tab Order Pin
Dov Sherman26-Jul-02 7:14
Dov Sherman26-Jul-02 7:14 
In my dialog window, I have inset a child dialog using this code in the main dialog's OnInitDialog(). Since SubclassDlgItem() can't be used with a CDialog, I have used this code to place it in the location of the CStatic item IDC_SINSET:
<br />
m_pFrameViewWnd = new CFrameViewDlg(this);<br />
m_pFrameViewWnd->Create(CFrameViewDlg::IDD,this);<br />
		<br />
GetDlgItem(IDC_SINSET)->GetWindowRect(r);<br />
ScreenToClient(r);<br />
m_pFrameViewWnd->MoveWindow(r.left,r.top,r.Width(),r.Height());<br />
m_pFrameViewWnd->ShowWindow(SW_SHOW);<br />
GetDlgItem(IDC_SINSET)->ShowWindow(SW_HIDE);<br />


There are more than forty various buttons and controls in the main dialog and the CStatic IDC_SINSET has a tab order of 12. However, no matter what the tab order of that static item is, the controls in the subdialog always seem to start only after all other controls in the main dialog. How can I make the controls in the subdialog have a tab order which is inserted at the same point in order as the static item to which the subdialog is assigned?
GeneralRe: Inset Dialog Tab Order Pin
Ernest Laurentin27-Jul-02 12:39
Ernest Laurentin27-Jul-02 12:39 
Questionhow to pass in an index when LButtondown handler runs? Pin
nss26-Jul-02 6:02
nss26-Jul-02 6:02 
AnswerRe: how to pass in an index when LButtondown handler runs? Pin
perlmunger26-Jul-02 19:20
perlmunger26-Jul-02 19:20 
QuestionCreatePrinterDC fails? Pin
-Dy26-Jul-02 5:38
-Dy26-Jul-02 5:38 
GeneralCRecttraker with CScrollview Pin
g-sus26-Jul-02 5:19
g-sus26-Jul-02 5:19 
GeneralMy CListCtrl & Ownerdata Pin
26-Jul-02 5:16
suss26-Jul-02 5:16 
Generaldoes the forum belong to ... Pin
includeh1026-Jul-02 4:33
includeh1026-Jul-02 4:33 
GeneralRe: does the forum belong to ... Pin
benjymous26-Jul-02 5:25
benjymous26-Jul-02 5:25 
GeneralRe: does the forum belong to ... Pin
Alexandru Savescu26-Jul-02 10:52
Alexandru Savescu26-Jul-02 10:52 
GeneralCreating new controls and handling events Pin
jparsons26-Jul-02 4:20
jparsons26-Jul-02 4:20 
GeneralRe: Creating new controls and handling events Pin
jparsons26-Jul-02 4:29
jparsons26-Jul-02 4:29 
GeneralRe: Creating new controls and handling events Pin
Tomasz Sowinski26-Jul-02 4:30
Tomasz Sowinski26-Jul-02 4:30 
GeneralPrinting Pin
Anthony988726-Jul-02 3:47
Anthony988726-Jul-02 3:47 
GeneralRe: Printing Pin
Chris Losinger26-Jul-02 4:20
professionalChris Losinger26-Jul-02 4:20 
GeneralRe: Printing Pin
Anthony988726-Jul-02 5:07
Anthony988726-Jul-02 5:07 
GeneralRe: Printing Pin
Chris Losinger26-Jul-02 5:08
professionalChris Losinger26-Jul-02 5:08 
GeneralRe: Printing Pin
Anthony988726-Jul-02 5:28
Anthony988726-Jul-02 5:28 

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.