Hi all, I have a simple dialog with a combobox in it. In the dialog editor, I entered some candidate values for the combo in the "Data" entry of the dialog...
The default WTL program icon (IDR_MAINFRAME) is 32x32 16 colors. How do I go about adding a ico set that includes multiple sizes and color depths and set that...
Open the icon in the resource editor and go to Image-->New Image Type and you can select what color depth you want to add. ... [Non-text portions of this...
Hi all, I have a dialog and want to monitor the Alt keypresses for it. When users presses Alt, I'd like to have one of my buttons change its label. The problem...
Hello, I'd really appreciate if focus rectangle for hyperlinks will be optional in WTL. Currently I have to patch WTL after each version update to comment...
... A modal dialog has its own private message loop, so your application's message loop never sees the message. It's probably easiest just to make the dialog...
with a listview in report mode, add gridlines and when you pageup/page down or lineup/linedown the gridlines get messy, some even are drawn over the data. To...
... KB813791 "BUG: Gridlines for list-view control are not drawn correctly using the LVS_EX_GRIDLINES style" -- With best wishes, Igor Tandetnik With...
Hello, Couple weeks ago I faced a problem with windows controls. I have a dialog with a custom background (I load a .png from resources and paint it in...
... This is a well-known bug, see http://support.microsoft.com/kb/813791. It's fixed in Vista but for some reason Microsoft refused to fix it in XP :-( The...
You are almost there. Just as an idea: CHyperLink::on_WM_PAINT( ) { HDC hdc = this window client DC.... // ask our parent to draw itself our background: // hdc...
... (true), ... section ... control ... problem ... lock ... these ... load a ... code. ... LPARAM ... intend on ... this to ... this to ... this ... true> ......
... runtime? ... Here is my congiguration: VS2005-MainFrame Configuration Type:Application(.exe) Use of MFC: Use Standard Windows Libraries Use of ATL: Not...
Hello, I don't quite understand. WM_PRINTCLIENT doesn't allow to specify clipping rectangle. So instead of repainting only part of background that lays under...
Trying using /MD. When you're loading a module, you're not sharing memory off of the same heap when it is allocated. I'm probably wrong, but it's just a...
I'm just guessing, but I think what is happening is that your splitter code is running in the DLL, and you don't have a Module (_Module) defined in the DLL and...
... memory ... it's ... both ... Thank u anyway. Now I just commented those trouble lines. It can work but still many other type problems. :) The Splitter...