Click here to Skip to main content
16,019,088 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to run c++ program on linux platform Pin
Chris Losinger9-Jan-06 0:46
professionalChris Losinger9-Jan-06 0:46 
AnswerRe: how to run c++ program on linux platform Pin
Aamir Butt9-Jan-06 0:41
Aamir Butt9-Jan-06 0:41 
AnswerRe: how to run c++ program on linux platform Pin
sunit59-Jan-06 1:19
sunit59-Jan-06 1:19 
AnswerRe: how to run c++ program on linux platform Pin
David Crow9-Jan-06 3:14
David Crow9-Jan-06 3:14 
QuestionUnicode support Pin
wollet9-Jan-06 0:08
wollet9-Jan-06 0:08 
AnswerRe: Unicode support Pin
Prakash Nadar9-Jan-06 0:36
Prakash Nadar9-Jan-06 0:36 
AnswerRe: Unicode support Pin
Stephen Hewitt9-Jan-06 1:32
Stephen Hewitt9-Jan-06 1:32 
QuestionToolBar width and placing in Dialog (Win32) Pin
Anilkumar K V8-Jan-06 23:14
Anilkumar K V8-Jan-06 23:14 
How to place a ToolBar created by CreateWindowEx() in a particular position on Dialog. I tried by placing a static control & then...see code

WINDOWPLACEMENT w;
::GetWindowPlacement(::GetDlgItem(m_hWnd, IDC_STATIC_TOOL), &w);
::SetWindowPlacement(hToolBarHandle, &w);

But the ToolBar displayed bit lower than the position of static control.

When I tested using MFC it placed exactly sample place that of static text

::GetWindowPlacement(::GetDlgItem(m_hWnd, IDC_STATIC_TOOL), &w);
m_Toolbar.CreateEx(this,WS_CHILD | CCS_NOPARENTALIGN|TBSTYLE_FLAT);
m_Toolbar.LoadToolBar(IDR_TOOLBAR);
::SetWindowPlacement(m_Toolbar.m_hWnd, &w);

Also in MFC the width of toolbar is same as the toolbar resource/static control where we place the toolbar. But in SDK the displayed toolbar width is higher. How to set/fix size of tool bar in SDK. What could be the trouble in Win32 SDK way? any suggestions???


Questionkernel mode programming Pin
mehrdadov8-Jan-06 22:20
mehrdadov8-Jan-06 22:20 
QuestionHow to enable unicode? Pin
<color>Aljechin 8-Jan-06 21:26
<color>Aljechin 8-Jan-06 21:26 
AnswerRe: How to enable unicode? Pin
Prakash Nadar8-Jan-06 21:29
Prakash Nadar8-Jan-06 21:29 
GeneralRe: How to enable unicode? Pin
<color>Aljechin 8-Jan-06 21:35
<color>Aljechin 8-Jan-06 21:35 
GeneralRe: How to enable unicode? Pin
Prakash Nadar8-Jan-06 21:52
Prakash Nadar8-Jan-06 21:52 
GeneralRe: How to enable unicode? Pin
<color>Aljechin 8-Jan-06 22:26
<color>Aljechin 8-Jan-06 22:26 
GeneralRe: How to enable unicode? Pin
sunit58-Jan-06 23:06
sunit58-Jan-06 23:06 
GeneralRe: How to enable unicode? Pin
<color>Aljechin 8-Jan-06 23:23
<color>Aljechin 8-Jan-06 23:23 
GeneralRe: How to enable unicode? Pin
toxcct8-Jan-06 23:30
toxcct8-Jan-06 23:30 
GeneralRe: How to enable unicode? Pin
Prakash Nadar8-Jan-06 23:43
Prakash Nadar8-Jan-06 23:43 
GeneralRe: How to enable unicode? Pin
sunit58-Jan-06 23:54
sunit58-Jan-06 23:54 
QuestionRe: How to enable unicode? Pin
David Crow9-Jan-06 3:19
David Crow9-Jan-06 3:19 
AnswerRe: How to enable unicode? Pin
<color>Aljechin 9-Jan-06 20:22
<color>Aljechin 9-Jan-06 20:22 
GeneralRe: How to enable unicode? Pin
David Crow10-Jan-06 1:53
David Crow10-Jan-06 1:53 
QuestionRTF to plain text problem Pin
Maciej Lisiewski8-Jan-06 20:46
Maciej Lisiewski8-Jan-06 20:46 
AnswerRe: RTF to plain text problem Pin
Neville Franks8-Jan-06 21:35
Neville Franks8-Jan-06 21:35 
QuestionRe: RTF to plain text problem Pin
Maciej Lisiewski9-Jan-06 0:05
Maciej Lisiewski9-Jan-06 0:05 

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.