Click here to Skip to main content
15,917,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IO Completion Ports Question... I am stuck... Pin
Mark Salsbery20-Jun-08 6:20
Mark Salsbery20-Jun-08 6:20 
QuestionHow to get the windows station and desktop name (winsta0\default) associated with a process [modified] Pin
rcardare19-Jun-08 6:51
rcardare19-Jun-08 6:51 
AnswerRe: Hot to get the workstation and desktop name (winsta0\default) associated with a process Pin
led mike19-Jun-08 7:37
led mike19-Jun-08 7:37 
GeneralRe: How to get the windows station and desktop name (winsta0\default) associated with a process Pin
rcardare19-Jun-08 13:06
rcardare19-Jun-08 13:06 
GeneralRe: How to get the windows station and desktop name (winsta0\default) associated with a process Pin
led mike20-Jun-08 6:38
led mike20-Jun-08 6:38 
GeneralRe: How to get the windows station and desktop name (winsta0\default) associated with a process Pin
Member 344075926-Feb-10 6:23
Member 344075926-Feb-10 6:23 
AnswerRe: How to get the windows station and desktop name (winsta0\default) associated with a process Pin
Nibu babu thomas19-Jun-08 17:28
Nibu babu thomas19-Jun-08 17:28 
QuestionUsing CMFCToolBar Pin
Mike DiCapo19-Jun-08 4:47
Mike DiCapo19-Jun-08 4:47 
Has anyone used this control?
I'm working on a MDI application that has toolbars in both the MainFrame and the ChildFrame. I want to use large images ( 32x32 ) in the ChildFrame while using normal ( 16x16) in the MainFrame. When I try to do this the MainFrame ToolBar gets mangled, graowing larger and showing some of its images as well as some un-wanted ChildFrame images. Confused | :confused:

=======================================================
//MainFrame.cpp
const DWORD dwTBStyle = TBSTYLE_FLAT ;
const DWORD dwWndStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP /*| CBRS_GRIPPER*/ | CBRS_TOOLTIPS | CBRS_FLYBY /*| CBRS_SIZE_DYNAMIC*/ ;
if ( !m_wndToolBar.CreateEx(this, dwTBStyle, dwWndStyle) || ! m_wndToolBar.LoadToolBar(IDR_MAINFRAME) )
{
TRACE0( __LOC__ "Failed to create toolbar" ) ;
return( -1 ) ;
}
const CString strMainToolbarTitle( (LPCTSTR)IDS_MAIN_TOOLBAR ) ;
m_wndToolBar.SetWindowText( strMainToolbarTitle ) ;
m_wndToolBar.EnableDocking( CBRS_ALIGN_ANY ) ;


//ChildFrame.cpp
const DWORD dwTBStyle = TBSTYLE_FLAT ;
const DWORD dwWndStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP /*| CBRS_GRIPPER*/ | CBRS_TOOLTIPS | CBRS_FLYBY /*| CBRS_SIZE_DYNAMIC*/ ;
if ( !m_wndSectionBar.CreateEx(this, dwTBStyle, dwWndStyle) ||
!m_wndSectionBar.LoadToolBar( IDR_JOB2) ||
!m_wndSectionBar.SetButtons( HJobButtons, sizeof(HJobButtons) / sizeof(UINT) )
)
QuestionHow can i change font and style of Static text in ATL? Pin
sumit.durg19-Jun-08 3:19
sumit.durg19-Jun-08 3:19 
AnswerRe: How can i change font and style of Static text in ATL? Pin
led mike19-Jun-08 4:47
led mike19-Jun-08 4:47 
GeneralRe: How can i change font and style of Static text in ATL? Pin
sumit.durg19-Jun-08 6:21
sumit.durg19-Jun-08 6:21 
GeneralRe: How can i change font and style of Static text in ATL? Pin
led mike19-Jun-08 7:43
led mike19-Jun-08 7:43 
AnswerRe: How can i change font and style of Static text in ATL? Pin
tina->newcoder19-Jun-08 7:19
tina->newcoder19-Jun-08 7:19 
QuestionHow can add UserID and Password function? Pin
Le@rner19-Jun-08 2:40
Le@rner19-Jun-08 2:40 
AnswerRe: How can add UserID and Password function? Pin
Hamid_RT19-Jun-08 2:54
Hamid_RT19-Jun-08 2:54 
GeneralRe: How can add UserID and Password function? Pin
Le@rner19-Jun-08 18:04
Le@rner19-Jun-08 18:04 
GeneralRe: How can add UserID and Password function? Pin
Hamid_RT19-Jun-08 21:09
Hamid_RT19-Jun-08 21:09 
QuestionRe: How can add UserID and Password function? Pin
David Crow19-Jun-08 3:49
David Crow19-Jun-08 3:49 
AnswerRe: How can add UserID and Password function? Pin
Le@rner19-Jun-08 18:03
Le@rner19-Jun-08 18:03 
GeneralRe: How can add UserID and Password function? Pin
KASR119-Jun-08 19:24
KASR119-Jun-08 19:24 
QuestionRe: How can add UserID and Password function? Pin
David Crow20-Jun-08 2:31
David Crow20-Jun-08 2:31 
AnswerRe: How can add UserID and Password function? Pin
Le@rner20-Jun-08 2:36
Le@rner20-Jun-08 2:36 
QuestionCompare two xml file Pin
manju#12319-Jun-08 1:40
manju#12319-Jun-08 1:40 
QuestionRe: Compare two xml file Pin
CPallini19-Jun-08 2:02
mveCPallini19-Jun-08 2:02 
AnswerRe: Compare two xml file Pin
Saurabh.Garg19-Jun-08 3:38
Saurabh.Garg19-Jun-08 3:38 

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.