Click here to Skip to main content
Page 1 of 14
Page Size: 10 · 25 · 50


Tag filtered by:  WTL [x]
Answer 1 May 2013   license: CPOL
Your question is really far from clear, but perhaps you are talking about WM_USER[^].
Answer 1 May 2013   license: CPOL
see:WTL for MFC Programmers, Part I - ATL GUI Classes[^]
Question 1 May 2013   license: CPOL
Your answer will be highly appreciated.
Question 25 Apr 2013   license: CPOL
The ON_MESSAGE macro is not available in WTL. I have been thinking about it for days. How to solve this problem?
WTL
Question 25 Apr 2013   license: CPOL
The macro ON_MESSAGE is not available in WTL, what should I do?
Question 11 Apr 2013   license: CPOL
The debug tools in vc6.0 cannot be used when you write wtl program
WTL
Answer 8 Apr 2013   license: CPOL
I think you have missed the message mapping for OnTimer() function.In BEGIN_MSG_MAP section please add "MSG_WM_TIMER(OnTimer)", and try if it is working.
Question 8 Apr 2013   license: CPOL
class CMyListBox : public CWindowImpl, public COwnerDraw{public: BEGIN_MSG_MAP(CMyListBox) MSG_WM_MOUSEMOVE(OnMouseMove) CHAIN_MSG_MAP_ALT(COwnerDraw, 1) DEFAULT_REFLECTION_HANDLER() ...
Question 7 Apr 2013   license: CPOL
dear: How Can I make the subWindows fullfill the whole Client area of the mainWindow,even if the subWindow was draged to another position to dock . ..? waiting for your respose! thank you! (my english is poor,so beg for your pardon if their exist something wrong words.) (I...
WTL
Answer 7 Apr 2013   license: CPOL
I cannot find one function that does the same work as GetDC do. Can you tell me, thanks a lot.
Question 7 Apr 2013   license: CPOL
void CMyListBox::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct) {CDC* pDC = GetDC();}error C2440: 'initializing' : cannot convert from 'struct HDC__ *' to 'class WTL::CDCT *'I write this code in VC6.0, how to get the dc of a control?
Answer 11 Mar 2013   license: CPOL
Well I don't know which article you read, but I just skimmed over the beginning of part one in his series and found this:This is the stuff I want you to read first, before proceeding on or posting messages to this article's discussion board.This series of articles originally covered WTL...
WTL
Question 11 Mar 2013   license: CPOL
There are many errors when I compile those programs with VC6.0, the article that the author writes is "WTL for MFC Programmers"?
WTL
Answer 8 Mar 2013   license: CPOL
For now, I can only answer your follow-up question on WTL documentation. WTL is not a Microsoft product anymore. This is open-source. Please see:http://en.wikipedia.org/wiki/WTL[^],http://sourceforge.net/projects/wtl/[^],http://wtl.sourceforge.net/[^].As to you main question, right...
Question 8 Mar 2013   license: CPOL
Thanks for answering me, I am looking forward to your reply.
Answer 6 Mar 2013   license: CPOL
This problem has been solved, the reason is No call to InitializeCriticalSection(...);for I used the loadlibrary(*.dll),which leave the global variables(_AtlWinModule,_AtlBaseModule,_AtlComModule which is used by ATL components later) uninitialized. So in this situation, Adding _CRT_INIT to the...
Question 26 Feb 2013   license: CPOL
hi,My English is not good, if the problem can not be Bunderstood please reply to me.I ran into a problem.I insert a picture into my richedit,than Scroll bars are displayed.I move the scroll bar until Image the lower half of the display,than i call the function...
Question 22 Feb 2013   license: CPOL
i want to use the control named windowlessrechedit.i will call the function "CTxtWinHost::SetClientRect" When the window size changes,than the Caret always flickers.the code //it will be called,When the window size changes.//OnSize will call it.void CxRichEdit::CxSetRect(RECT...
Question 6 Feb 2013   license: CPOL
The start reason is that I want to change a WTL exe project to dll project so that I could use it as plugin in another project. Those code worked well in the exe, but got exception in the DLL. I tracked it down, initialization is fine, when it goes to the CWindowImpl::create->...
Technical Blog 18 Jan 2013   license: CPOL
What is Model? A model can be considered as a container  that facilitates presentation view, behavior and/or persisting data to/from data source (i.e. database etc). Besides the data container elements, a model may or may not contain behavior (i.e. logic), depending on design context of correspon
Question 7 Jan 2013   license: CPOL
hi Recently, I have a question.i want to do something when i click a ole in a richedit,but i find that i can not get the accurate position of ole.Now,one way to get the position like this.the "rcLastUpdate" is the i am using.sometimes,it is not accurate,when the ole is not...
Question 31 Dec 2012   license: CPOL
Hi All,I've created a WTL based owner drawn listview control. In case of receiving WM_VSCROLL message, I want to repaint the whole listview control so I call Invalidate() followed by UpdateWindow() in WM_VSCROLL message handler function.class CListViewExClass : ....{...... ...
WTL
Answer 5 Dec 2012   license: CPOL
i have Solve the problem by myself.i find that,the color and size of the bullets are the same to the last "\r",so i remeber the position ,and find the first "\r" from the position to set it color and...
Question 28 Nov 2012   license: CPOL
hi,i want to change the color and size of the bullets in a richedit,and do not change the text.i do not get a effective method to do it.I found that ,i can change the font ,color and size of bullets in word,and i want to get the effect look like the word.who can help me? ...
Answer 26 Nov 2012   license: CPOL
Set pf2.cbSize = sizeof(PARAFORMAT2) after you ZeroMemory the pf2 and it should all work
Question 25 Nov 2012   license: CPOL
hello everyone.i have a problem,i can not find the Solutions. PARAFORMAT2 pf2; ZeroMemory(&pf2, sizeof(PARAFORMAT2)); pf2.dwMask = PFM_LINESPACING; pf2.bLineSpacingRule = 4; pf2.dyLineSpacing = 300; SetSel(iBPos,iEPos); SetParaFormat(pf2);when i expand the line...
Technical Blog 5 Nov 2012   license: CPOL
Introduction“Almost all quality improvement comes via simplification of design, manufacturing... layout, processes, and procedures.” - Tom PetersAs I was tinkering around with Erlang/OTP and some other stuff, I suddenly experienced yet another "aha-erlebnis": there is a huge difference b
Article 4 Nov 2012   license: Zlib
A WTL control to display quality rate
Technical Blog 19 Oct 2012   license: CPOL
This post describes the design of the PanView custom control, discussing both the C# and XAML that achieves the desired functionality. Posts in this series: Zeroing the Center of a CompositeTransform Flattening a TransformGroup Using Matrices to Flatten a TransformGroup PanView - A Metro Panning
Technical Blog 2 Oct 2012   license: CPOL
Define Principle Single Responsibility Principle (SRP) states that there should never be more than one reason for class to change.
Technical Blog 18 Sep 2012   license: CPOL
A virtual machine (VM) is a high level abstraction on top of the native operating system, that emulates a physical machine. Here, we are talking about process virtual machines and not system virtual machines. A virtual machine enables the same platform to run on multiple operating systems and hardwa
Tip/Trick 17 Sep 2012   license: CPOL
A complete log viewer written in C++/WTL.
Technical Blog 4 Sep 2012   license: CPOL
The Gestalt Principles are based on the observation that people actively and subconsciously organize things into patterns and objects.  These principles are organized into Proximity, Similarity, Closure, Good Continuation, Common Fate, and Good Form.  They can be applied to all avenues of life.
Technical Blog 30 Aug 2012   license: CPOL
The Gestalt Principles are based on the observation that people actively and subconsciously organize things into patterns and objects.  These principles are organized into Proximity, Similarity, Closure, Good Continuation, Common Fate, and Good Form.  They can be applied to all avenues of life.  Web
Answer 29 Aug 2012   license: CPOL
This question is not answered. Windows Explorer (explorer.exe) is indeed responsible, but how can one call it problematically as if the user double clicked an application's icon?
Answer 14 Aug 2012   license: CPOL
The default for a List View is to allow multiple selections, so unless you specifiy LVS_SINGLESEL when you create it it is already set up to do it.
Answer 14 Aug 2012   license: CPOL
The listview has a multiselect property that you can turn on - http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.multiselect.aspx[^].
Question 14 Aug 2012   license: CPOL
how to choose multiple line in listview
Answer 5 Aug 2012   license: CPOL
As suggestions. If you return bool then you have to return false/true instead of FALSE/TRUE, because you are not using BOOL. Second, don't name the class Handle. Instead of CConnectionHandle use CConnection name, or even better CDatabase. Instead ir CStatementHandle use CStatement or CQuery, and...
Technical Blog 5 Aug 2012   license: CPOL
Visual Studio 2012 adds theme support to the IDE, with "light" and "dark" themes included by default. If you are developing a plug-in for VS2012, this is something you will need to take into account in any windows you create.
Answer 3 Aug 2012   license: CPOL
My advice is to test the code yourself first, to see if it solves the problem you are addressing.I've had little need in the last decade, to do much with the ODBC layer. Using Wizard generated code such as MFC generated classes based on CRecordset, save a lot of time, and perform well enough...
Answer 3 Aug 2012   license: CPOL
I do appreciate your feedback and understand I am missing a lot :) I think it's better to get advice early then to late and have a lot of rewriting :) thanks for the advice and your time
Question 2 Aug 2012   license: CPOL
In order to further explore ODBC and increase my programming experience i was going to put together my own ODBC wrapper classes. Below are the wrapper classes i have made so far and i'm curious on any problems anyone happens to see with it :) thanks for the help and cheerstemplate
Answer 16 Jul 2012   license: CPOL
//Disable Usb in c# Microsoft.Win32.Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR", "Start", 4, Microsoft.Win32.RegistryValueKind.DWord);//enable USB storage...in...
Answer 9 Jul 2012   license: CPOL
First you need to open the right theme from the current skin:hThm = OpenThemeData(hWnd, L"WINDOW");After that you may draw the needed thing with DrawThemeBackground,DrawThemeBackground( hThm, hDC, WP_CAPTION, CS_ACTIVE, &rc, 0 );
Question 8 Jul 2012   license: CPOL
hello!i have a problem.My window that don't have the style "WS_CAPTION",i want it have the shadow of aero,how can i To achieve that effect.i want to provide a picture,but this don't Support.the effect i want look like the shadow of system window,my Operating system is window...
Technical Blog 7 May 2012   license: CPOL
We have started using Test Driven Design (hopefully properly) over the last few months and I wanted to share our experiences of it. Before we started using TDD our approach to unit testing was to find a unit of work that we had just completed and write a test to make sure the output of [...]
Answer 22 Apr 2012   license: CPOL
Thanks to several people on several forums who supplied helpful answers to this and several spawned questions. The real problem as all too often was something completely different.See comments for additions needed.Gotcha #1 was & operator does not work on WTL classesGotcha #2, is never...

Page 1 of 14
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid