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

C / C++ / MFC

 
GeneralRe: why OnKeyDown & OnKeyUp different when they meet "Enter"? Pin
Habeeballah Hasnoddin4-Jun-07 1:08
Habeeballah Hasnoddin4-Jun-07 1:08 
GeneralRe: why OnKeyDown & OnKeyUp different when they meet "Enter"? Pin
Peter, Chan4-Jun-07 15:37
Peter, Chan4-Jun-07 15:37 
QuestionHow to load bitmap in vb using vc++ dll Pin
jannathali3-Jun-07 23:02
jannathali3-Jun-07 23:02 
AnswerRe: How to load bitmap in vb using vc++ dll Pin
CPallini3-Jun-07 23:37
mveCPallini3-Jun-07 23:37 
QuestionDialog Bar Pin
vivekphlp3-Jun-07 22:51
vivekphlp3-Jun-07 22:51 
AnswerRe: Dialog Bar Pin
Peter, Chan3-Jun-07 23:21
Peter, Chan3-Jun-07 23:21 
GeneralRe: Dialog Bar Pin
vivekphlp3-Jun-07 23:56
vivekphlp3-Jun-07 23:56 
AnswerRe: Dialog Bar Pin
Rajkumar R3-Jun-07 23:46
Rajkumar R3-Jun-07 23:46 
Hi,
I usually derive it from CDialog and rename the CDialog to CDialogBar
and
if you need you can simplify the create() function with
 BOOL CYourDlgBar::Create(CWnd* pParentWnd, UINT nStyle)<br />
{<br />
    return CDialogBar::Create(pParentWnd, IDD, nStyle, IDD);<br />
}<br />


And on your frame window create, dock your dialog bar
 m_yourDlgBarObj.Create(this, //frame instance<br />
		WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_CHILD |WS_VISIBLE | //style<br />
		CBRS_BOTTOM|CBRS_TOOLTIPS);<br />
<br />
m_yourDlgBarObj.EnableDocking(CBRS_ALIGN_BOTTOM | CBRS_ALIGN_TOP);<br />
DockControlBar(&m_yourDlgBarObj);<br />

GeneralRe: Dialog Bar Pin
vivekphlp3-Jun-07 23:58
vivekphlp3-Jun-07 23:58 
GeneralRe: Dialog Bar Pin
Rajkumar R4-Jun-07 0:04
Rajkumar R4-Jun-07 0:04 
QuestionRe: Dialog Bar [modified] Pin
vivekphlp4-Jun-07 0:11
vivekphlp4-Jun-07 0:11 
AnswerRe: Dialog Bar Pin
Rajkumar R4-Jun-07 0:50
Rajkumar R4-Jun-07 0:50 
GeneralRe: Dialog Bar Pin
vivekphlp4-Jun-07 1:32
vivekphlp4-Jun-07 1:32 
GeneralRe: Dialog Bar Pin
Rajkumar R4-Jun-07 21:38
Rajkumar R4-Jun-07 21:38 
Questionget rid of icon on title bar of dialog Pin
nathan73-Jun-07 22:07
nathan73-Jun-07 22:07 
AnswerRe: get rid of icon on title bar of dialog Pin
Hamid_RT3-Jun-07 22:11
Hamid_RT3-Jun-07 22:11 
GeneralRe: get rid of icon on title bar of dialog Pin
nathan73-Jun-07 22:58
nathan73-Jun-07 22:58 
QuestionRe: get rid of icon on title bar of dialog Pin
Hamid_RT4-Jun-07 1:08
Hamid_RT4-Jun-07 1:08 
GeneralRe: get rid of icon on title bar of dialog Pin
Mark Salsbery4-Jun-07 5:14
Mark Salsbery4-Jun-07 5:14 
GeneralRe: get rid of icon on title bar of dialog Pin
nathan74-Jun-07 17:20
nathan74-Jun-07 17:20 
QuestionRe: get rid of icon on title bar of dialog Pin
Mark Salsbery5-Jun-07 4:31
Mark Salsbery5-Jun-07 4:31 
QuestionHow to open associated files just double click it? Pin
Peter, Chan3-Jun-07 21:53
Peter, Chan3-Jun-07 21:53 
AnswerRe: How to open associated files just double click it? Pin
Rajkumar R3-Jun-07 22:24
Rajkumar R3-Jun-07 22:24 
GeneralRe: How to open associated files just double click it? Pin
Peter, Chan3-Jun-07 23:02
Peter, Chan3-Jun-07 23:02 
GeneralRe: How to open associated files just double click it? Pin
Rajkumar R3-Jun-07 23:21
Rajkumar R3-Jun-07 23:21 

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.