Hi All, My App (see pnotepad.org) uses WTL as its framework, and defines WINVER as 0x500 along with related _WIN32_WINNT defines in order to get features such...
Hi Simom, Have you tried using Delay-Loaded DLLs? Look into the topic "Linker Support for Delay-Loaded DLLs" on MSDN. If you want to link with DLLs for which...
Hi Simon, MonitorFromPoint is used only in CMenuT::_FixTrackMenuPopupX(), which is called only from CMenuT::TrackPopupMenu() and CMenuT::TrackPopupMenuEx()....
... CancelToClose uses SendMessage, which delivers the message synchronously, whereas PostMessage places the message in the queue for the message loop to pick...
As I mentioned in my original reply, the property sheet undoes PSM_CANCELTOCLOSE after a successful "apply" operation. So if you call CancelToClose during...
I'm using VS2005 Standard and WTL 7.5 I created a dialog based project using the WTL AppWizard. I then created an edit box on the dialog. I right clicked it,...
Hi. I am very novice in WTL and after some positive experiences with it i found myself a bit u-m-m-m frustrated(because of underlying complexity and necessity...
"Frantisek Bachan" <bachanf@...> wrote in message news:e8orod+fui4@eGroups.com ... Neither ATL nor WTL really support developing custom controls. A ...
... I have not tried this but it seems like you could register your window class in the application init instance function - before the app's main dialog or...
... First let me make sure I understand the problem. Does the person wish to create a custom control to be referenced in a dialog resource? If so, registering...
Rick, what parameter shoud I supply for window procedure address for class registration? I think that dialog editor relies on win32 CreateWindow when working ...
Thank you Igor, at least now I know that it is better to derive my mew control from similar native win32 control - it enables me to use subclassing on dialog. ...
... Your static WinProc function. If you want to get really arcane, there are some gory details on MSDN for registering a global window class - I think as a...
Hi Frantisek, ... I am not sure in details but it could work when you will use CContainedWindowT<> class. Suppose you are creating a dialog base application. A...
"Frantisek Bachan" <bachanf@...> wrote in message news:e8qc48+9n7u@eGroups.com ... When you subclass the control, messages you don't explicitly handle go...
... it i ... complexity ... at ... () ... Hi, Since you are using the Command Bar control, you can replace the menu by using another m_CmdBar.AttachMenu()...
Take a look at the following article: http://www.codeproject.com/miscctrl/springctrls.asp I have an implementation of my own which is fully done in WTL fashion...
Take a look at the following article: http://www.codeproject.com/miscctrl/springctrls.asp I have an implementation of my own which is fully done in WTL fashion...
... Thanks a lot Bjarke for your reply. During last sunday i experimented with problem and solved it in the following fasion: on "recreate" command i am...
Hi, I was really busy last week and can't test your solution. Today I try calling ... SWP_NOSIZE); from OnInitDialog, I also try HWND_TOP, HWND_BOTTOM, but the...
I downloaded WTL, pointed VS2005 to the include directory and installed the AppWizard. Besides the security warning that appears in the AppWizard's GUI, it ...
Hi Everyone, I have a major problem with a virtual listview which is part of a very complex WTL application I am working on. Specifically, I need to be able to...