Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: NTDLL.DLL write access Pin
lucy4-Sep-02 8:53
lucy4-Sep-02 8:53 
GeneralRe: NTDLL.DLL write access Pin
Tomasz Sowinski4-Sep-02 22:55
Tomasz Sowinski4-Sep-02 22:55 
GeneralUpdate data Pin
Kash4-Sep-02 3:32
Kash4-Sep-02 3:32 
GeneralRe: Update data Pin
Jawache4-Sep-02 3:40
Jawache4-Sep-02 3:40 
GeneralRe: Update data Pin
jhwurmbach4-Sep-02 4:50
jhwurmbach4-Sep-02 4:50 
GeneralRe: Update data Pin
Jawache4-Sep-02 5:06
Jawache4-Sep-02 5:06 
GeneralRe: Update data Pin
Simon.W4-Sep-02 3:43
Simon.W4-Sep-02 3:43 
GeneralProgress bar still misplaced Pin
RalfPeter4-Sep-02 3:23
RalfPeter4-Sep-02 3:23 
I've created a progress bar that works, except it is misplaced. How do I make my progress bar a child of my status bar? The vertical position is the only one wrong. My progress bar shows at the top of the screen. Here's the OnSize code:

void CMainFrame::OnSize(UINT nType, int cx, int cy)
{
CFrameWnd::OnSize(nType, cx, cy);

if (IsWindow(m_wndStatusBar.m_hWnd) &&
IsWindow(m_ProgBar.m_hWnd) &&
m_ProgBar.GetSafeHwnd()) {

CRect rect;
m_wndStatusBar.GetItemRect(2, &rect);
//Reposition the progress control correctly
m_ProgBar.SetWindowPos(&wndTop,
rect.left,
rect.top,//returns 2 (of main window, not status bar)
rect.right - rect.left,
rect.bottom - rect.top,
NULL);
}

}
Thanks,
Ralf.

ralf.riedel@usm.edu
GeneralRe: Progress bar still misplaced Pin
Tomasz Sowinski4-Sep-02 3:28
Tomasz Sowinski4-Sep-02 3:28 
GeneralRe: Progress bar still misplaced Pin
RalfPeter4-Sep-02 10:38
RalfPeter4-Sep-02 10:38 
GeneralRe: Progress bar still misplaced Pin
Tomasz Sowinski4-Sep-02 22:58
Tomasz Sowinski4-Sep-02 22:58 
GeneralMulti Line ToolTip Support for Normal ToolBars. Pin
Jawache4-Sep-02 3:21
Jawache4-Sep-02 3:21 
GeneralRe: [CLOSED] Multi Line ToolTip Support for Normal ToolBars. Pin
Jawache4-Sep-02 3:34
Jawache4-Sep-02 3:34 
QuestionHow to load xml from memory to IWEBBrowser2 Pin
Stas4-Sep-02 3:06
Stas4-Sep-02 3:06 
AnswerRe: How to load xml from memory to IWEBBrowser2 Pin
Stephane Rodriguez.4-Sep-02 3:35
Stephane Rodriguez.4-Sep-02 3:35 
AnswerRe: How to load xml from memory to IWEBBrowser2 Pin
Ryszard Krakowiak5-Sep-02 0:10
Ryszard Krakowiak5-Sep-02 0:10 
GeneralWord Automation working but doing something VERY STRANGE Pin
Al_Pennyworth4-Sep-02 3:05
Al_Pennyworth4-Sep-02 3:05 
GeneralRe: Word Automation working but doing something VERY STRANGE Pin
Ranjan Banerji4-Sep-02 5:03
Ranjan Banerji4-Sep-02 5:03 
GeneralRe: Word Automation working but doing something VERY STRANGE Pin
Al_Pennyworth4-Sep-02 5:41
Al_Pennyworth4-Sep-02 5:41 
Questionhow to merge two flat files in code Pin
ns4-Sep-02 2:39
ns4-Sep-02 2:39 
AnswerRe: how to merge two flat files in code Pin
Ranjan Banerji4-Sep-02 5:05
Ranjan Banerji4-Sep-02 5:05 
GeneralCEditView... Pin
Member 474794-Sep-02 2:04
Member 474794-Sep-02 2:04 
GeneralRe: CEditView... Pin
Alexandru Savescu4-Sep-02 2:41
Alexandru Savescu4-Sep-02 2:41 
GeneralCTreeCtrl(finding out which item was right-clicked) Pin
Mariusz Popiolek4-Sep-02 1:45
sussMariusz Popiolek4-Sep-02 1:45 
GeneralRe: CTreeCtrl(finding out which item was right-clicked) Pin
Tomasz Sowinski4-Sep-02 1:51
Tomasz Sowinski4-Sep-02 1:51 

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.