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...
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...
I have a WTL SDI app, whose Edit menu has an item labelled "Rotate 90¡ã CCW". While it can be displayed properly in my IDE(VS.net 2003), that degree ...
in order to move a window without caption ,i write the following code . (1) in a CWindowImpl - based class ,it work well. MSG_WM_NCHITTEST(OnNcHitTest) ...
i read a few TreeList controls ,that's a control mix Tree and List Like things together. but the source code are far too complex . i can't get clear how the...
I am attempting to skin a modal CPropertySheet and its pages. I (finally) have it working so that I can set the background bitmap of the property sheet dialog...
Is there a print / print preview sample that shows a simple CWindow implementation instead of using built-in controls (ie bmp, text edit). I need to generate a...
I am looking for a sample that does some owner drawing of a listview's header. particularly I want to add an "auto-filter" like capability so I want a header...
Using the below code, after a hover and MouseLeave, the button still draws with the hover effect until the window is Invalidated and redrawn. Is there...
I am trying to do an ownerdrawn header control. Compiling the code below generates the following errors: Is It not possible to do ownerdrawn HeaderControls? ...
in WTL ,to create a "OpenFile" dialog. i write the following code . CFileDialog dlg(TRUE,NULL,NULL,OFN_HIDEREADONLY,NULL,m_hWnd); if(dlg.DoModal() == IDOK) { ...
in LISTVIEW control : i handle WM_ERASEBKGND message by putting a BMP on the background. in order to erase the text's back color ,i do the following thing : ...
//under VC6.0 ,WTL 7.1 I want to handle WM_CTLCOLOR message ,but, it seems that WTL couldn't recognize it . //my code : MESSAGE_HANDLER(WM_CTLCOLOR,...
I was just curious if anyone was thinking of developing an Office 2007 style interface with the ribbon and quick bar. It's a fair amount of work, but I...
When I study the WTL source, I find that in atlctrlx.h there are 2 functions named GetIdealSize() as the following: (At about line 967) bool GetIdealSize(SIZE&...
If I use TabView with Windows XP classic theme, there are two blots (4 black and white pixels each) on the two sides of TabView. I have upload a screenshot on...
Hello I am using the IE automation to navigate to a web page. The web page the user enters is a bit like this: http://MyHost:7001/Mid-Tier/home If you...
Alright, this has been driving me nuts! I have a CCommandBarCtrl member in my dialog. I also have a CReBarCtrl member as well. In the OnInitDialog I have...
hello, If you use original CTabView class in your code, dragging the tab function works well. But when you derive a new class from it, and in new class move...
I thought the WTL group would be interested to know that the ATL Server Library is now a shared source project and has been posted on CodePlex by the ATL...
Hello I am writing a program to automate Internet Explorer. It logs onto a web site, performs some operations on fields and closes. I have code to do most of...
I've seen this with other apps in Vista, and now with my own app: I have a CListViewCtrl which causes an annoying-as-hell system beep every time I select an...
Has anyone else had a problem where dialog boxes with simple controls like buttons appear to be scaled or proportioned incorrectly on Vista? I have a simple...