I believe that it uses the pixel in the upper left corner of the toolbar as the transparent color. ... [Non-text portions of this message have been removed]...
Hello, wtl! I want to append item to main menu in runtime. class MainFrame_c { CMDICommandBarCtrl m_CmdBar; I'm using the code bellow: MainFrame_c::OnCreate (...
The PreTranslateMsg method enables the message form to pre-translate any messages received by the message pump in Messaging. BYe ... [Non-text portions of this...
Maybe you need to subclass the toolbar and set fill the color in WM_ERASEBKGND or set something like a hook on that toolbar. In WTL you have more control over...
i couldn't put a CRichEdit control in a SPLITTER pane . the CRichEdit control can't be created properly .i check every ,and couldn't find where the problem...
We're going to need a bit more information. Have you tried calling LoadLibrary on riched20.dll before you try to create the control? ... [Non-text portions of...
In the latest submit (revision 1.6) has a typo error at line 1258: void OnEnterMenuLoop(BOOL fIsTrackPopupMenu) it should be: //void OnEnterMenuLoop(BOOL...
... You need to add the item to a submenu rather than the top-level menu. For example, this adds the item to the "File" menu: menu.GetSubMenu(0).AppendMenu(...
Hi cg, Thanks for catching this - it is fixed now. Cheers, Nenad ________________________________ From: wtl@yahoogroups.com [mailto:wtl@yahoogroups.com] On...
... any ... So can I remove this code generated by appwizard if I don't need it in class CChildView ? BOOL PreTranslateMessage(MSG* pMsg) { pMsg; return FALSE;...
It depends on whether your child form mut pretranslate messages. Whene not you can safely remove this. Bye Martin ... [Non-text portions of this message have...
I've always wondered too what this is for exactly. Can you explain a bit more on what you mean by 'pretranslate messages'? Is it to allow a form to catch...
Roel Vanhout
rvanhout@...
Feb 2, 2007 8:33 am
14233
... For example, if you are hosting an ActiveX control (like IE), you can pass it messages here so it can do its own keyboard/mouse handling. Keeping the...
I'm definitely no expert, but I'll take a stab at this... Your app has a message pump which processes messages (this comes from the CMessageLoop class). A...
I am relatively new to WTL and UI programming, but am picking it up quickly. Specifically, I need to write a (multi-line) tooltip with allows a user to mouse...
I see a function in CEdit called GetComboBoxInfo which returns a struct that includes an HWND for the interanl edit control. This function is #ifdef'd out for...
Hehe i'm currently writing a Tooltip control on my own, but it's not that easy as it sounds, becuase i wanted to be interface-comtable with the windows...
Hehe i'm currently writing a Tooltip control on my own, but it's not that easy as it sounds, becuase i wanted to be interface-comtable with the windows...
Hehe i'm currently writing a Tooltip control on my own, but it's not that easy as it sounds, becuase i wanted to be interface-comtable with the windows...
Tooltip are massively owner drawn, so i don't think they support this style, This ist just for every day windows. Maybe you can hook the tooltip window and...
Hi, Please file a bug at http://sourceforge.net/tracker/?group_id=109071 <http://sourceforge.net/tracker/?group_id=109071&atid=652372> &atid=652372 The...
... (http://www.codeproject.com/wtl/wtlgrid2.asp). ... (http://www.viksoe.dk/code/intellimouse.htm). ... Hi, I experimented with the following 2 changes to...
I have a class CMainFrame and its child view CChildView. CMainFrame will handle UI update. However, is it possible to handle some of UI update inside...
I need to Post a Message from a child to the MainFrm to clean the list of a combobox right after I have closed the child, I use PostMessage inside the...
Hi Maryam, In our project we have done the following: In stdafx.h": class CMainFrame; extern CMainFrame* pWndMain; inline CMainFrame * AfxGetApp() {return...
Hi Folks, I could definitely use a suggestion on this one. The app I'm currently working on might very well have a lot of little old ladies trying to use it...
... Why not simply add a HWND data memeber, like m_hWndOfMainFrm, in your child frame (I assume you mean child frame), after creating child frame, you assign...
... the list ... PostMessage ... work ... your ... HWND ... I have tried , but it doesn't work. when I define the HWND in this way,however,no error is...