Click here to Skip to main content
15,891,409 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying unicode value in MFC CEdit text box Pin
bhanu_850919-Jun-09 0:52
bhanu_850919-Jun-09 0:52 
GeneralRe: Displaying unicode value in MFC CEdit text box Pin
aravind.sn19-Jun-09 1:07
aravind.sn19-Jun-09 1:07 
QuestionCMfcOutlookbar Pin
VCsamir26-May-09 1:52
VCsamir26-May-09 1:52 
AnswerRe: CMfcOutlookbar Pin
Stuart Dootson26-May-09 2:27
professionalStuart Dootson26-May-09 2:27 
GeneralRe: CMfcOutlookbar Pin
VCsamir26-May-09 23:23
VCsamir26-May-09 23:23 
GeneralRe: CMfcOutlookbar Pin
Stuart Dootson27-May-09 1:24
professionalStuart Dootson27-May-09 1:24 
GeneralRe: CMfcOutlookbar Pin
VCsamir27-May-09 20:57
VCsamir27-May-09 20:57 
GeneralRe: CMfcOutlookbar [modified] Pin
JHeikkilajr12-Aug-09 1:49
JHeikkilajr12-Aug-09 1:49 
It may be a little late, but here's how I'm doing it:

1) In the frame-window's OnCreate() method, I add the following code just before the call to CreateOutlookToolbar()
<br />
// enable Visual Studio 2005 style docking window auto-hide behavior<br />
EnableAutoHidePanes(CBRS_ALIGN_ANY);<br />


2) In the CreateOutlookToolbar() method, I change the call to bar.Create() to include ControlBarStyles as illustrated below:
<br />
if (!bar.Create(strTemp, this, CRect(0, 0, nInitialWidth, 32000), uiID, WS_CHILD | WS_VISIBLE | CBRS_LEFT, AFX_CBRS_AUTOHIDE | AFX_CBRS_RESIZE))<br />
{<br />
  return FALSE; // fail to create<br />
}<br />


Quite simple really, but with one slight draw-back: you don't get to see the stick-pin icon! No, in order to actually have the outlook bar auto-hide, you have to right-click the caption on top... Not a big deal for me - I'm gonna try and fix it later, but for now it will do.

Hope this helps,
Jumpster

Edit: Realized I missed a step... Added it as step 1 above.
GeneralRe: CMfcOutlookbar Pin
QuiOui9-Sep-09 21:08
QuiOui9-Sep-09 21:08 
Questioncheck for Substring Pin
p_196026-May-09 0:41
p_196026-May-09 0:41 
AnswerRe: check for Substring Pin
Rajesh R Subramanian26-May-09 0:43
professionalRajesh R Subramanian26-May-09 0:43 
AnswerRe: check for Substring Pin
ThatsAlok26-May-09 22:18
ThatsAlok26-May-09 22:18 
AnswerRe: check for Substring Pin
ankitbtrivedi27-May-09 0:35
ankitbtrivedi27-May-09 0:35 
GeneralRe: check for Substring Pin
Rajesh R Subramanian27-May-09 3:34
professionalRajesh R Subramanian27-May-09 3:34 
GeneralRe: check for Substring Pin
ThatsAlok28-May-09 6:02
ThatsAlok28-May-09 6:02 
GeneralRe: check for Substring Pin
Rajesh R Subramanian28-May-09 19:15
professionalRajesh R Subramanian28-May-09 19:15 
Questionwrapping VOIP traffic Pin
B060611526-May-09 0:40
B060611526-May-09 0:40 
AnswerRe: wrapping VOIP traffic Pin
B060611526-May-09 19:00
B060611526-May-09 19:00 
Questionconvert TCHAR to CString Pin
p_196025-May-09 23:28
p_196025-May-09 23:28 
AnswerRe: convert TCHAR to CString Pin
Cedric Moonen25-May-09 23:37
Cedric Moonen25-May-09 23:37 
GeneralRe: convert TCHAR to CString Pin
p_196025-May-09 23:43
p_196025-May-09 23:43 
GeneralRe: convert TCHAR to CString Pin
Cedric Moonen25-May-09 23:50
Cedric Moonen25-May-09 23:50 
GeneralRe: convert TCHAR to CString Pin
CPallini25-May-09 23:50
mveCPallini25-May-09 23:50 
QuestionRe: convert TCHAR to CString Pin
Rajesh R Subramanian25-May-09 23:55
professionalRajesh R Subramanian25-May-09 23:55 
AnswerRe: convert TCHAR to CString Pin
CPallini26-May-09 0:03
mveCPallini26-May-09 0:03 

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.