Click here to Skip to main content
16,017,297 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why OnKeyDown & OnKeyUp different when they meet "Enter"? Pin
Habeeballah Hasnoddin3-Jun-07 23:54
Habeeballah Hasnoddin3-Jun-07 23:54 
GeneralRe: why OnKeyDown & OnKeyUp different when they meet "Enter"? Pin
Peter, Chan4-Jun-07 0:11
Peter, Chan4-Jun-07 0:11 
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 
Do you mean toolbar?
If it's toolbar, you can do accroding to the following step.
1)create a toolbar resource "Insert->toolbar"
2)add a member
CToolBar m_wndToolBar;
3)add the following code in your OnInitDialog()
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_TOOLBAR1))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}
m_wndToolBar.ShowWindow(SW_SHOW);
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);



I hope it will works.;P

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 
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 

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.