9,867,109 members (39,181 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
652 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 14
Page Size:
10
·
25
·
50
Tag filtered by: WTL
[x]
Four Tier IOC Application (Converted Tier Architecture)
by
Surreal8Developer
Technical Blog
7 May 2013
license:
CPOL
Four tier IOC application.
Development Lifecycle
»
Design And Architecture
»
Application Design
C++
Windows
WTL
How to add your own message in WTL?
by
Richard MacCutchan
Answer
1 May 2013
license:
CPOL
Your question is really far from clear, but perhaps you are talking about WM_USER[^].
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How to add your own message in WTL?
by
Style-7
Answer
1 May 2013
license:
CPOL
see:WTL for MFC Programmers, Part I - ATL GUI Classes[^]
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How to add your own message in WTL?
by
MCGRADYV5
Question
1 May 2013
license:
CPOL
Your answer will be highly appreciated.
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How to add your own message in WTL?
by
MCGRADYV5
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?
General Programming
»
Uncategorised Quick Answers
»
General
WTL
How to add your own message in WTL program?
by
MCGRADYV5
Question
25 Apr 2013
license:
CPOL
The macro ON_MESSAGE is not available in WTL, what should I do?
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How to debug a program that is written with WTL?
by
MCGRADYV5
Question
11 Apr 2013
license:
CPOL
The debug tools in vc6.0 cannot be used when you write wtl program
General Programming
»
Uncategorised Quick Answers
»
General
WTL
How to add WM_MOUSEMOVE message in a class?
by
Kumar Anitesh
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.
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How to add WM_MOUSEMOVE message in a class?
by
MCGRADYV5
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() ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How Can I make the subWindows fullfill the whole Client area of the mainWindow
by
- NA -
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...
General Programming
»
Uncategorised Quick Answers
»
General
WTL
How to get the dc of a control in a class, I use WTL.
by
MCGRADYV5
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.
General Programming
»
Uncategorised Quick Answers
»
General
MFC
WTL
How to get the dc of a control in a class, I use WTL.
by
MCGRADYV5
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?
General Programming
»
Uncategorised Quick Answers
»
General
MFC
WTL
What compiler did the author use in the WTL demo programs?
by
Manfred R. Bihy
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...
General Programming
»
Uncategorised Quick Answers
»
General
WTL
What compiler did the author use in the WTL demo programs?
by
MCGRADYV5
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"?
General Programming
»
Uncategorised Quick Answers
»
General
WTL
How to search the usage of a class like MFC when I use WTL to program?
by
Sergey Alexandrovich Kryukov
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
How to search the usage of a class like MFC when I use WTL to program?
by
MCGRADYV5
Question
8 Mar 2013
license:
CPOL
Thanks for answering me, I am looking forward to your reply.
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
WTL DLL runtime access violation
by
lan yuan
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...
General Programming
»
Uncategorised Quick Answers
»
General
WTL
DLL
Richedit how to turn off this feature that make sure the ole could be seen.? About ITextServices::TxDraw and ITextHost::SetClientRect.
by
lin98666521
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
WindowLessRe, the caret will flicker when i call the function “CTxtWinHost::SetClientRect”,how to solve this problem?
by
lin98666521
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
WTL DLL runtime access violation
by
lan yuan
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->...
General Programming
»
Uncategorised Quick Answers
»
General
WTL
DLL
Design Patterns for Model
by
Mohammad Ashraful Alam
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
Development Lifecycle
»
Design And Architecture
»
Design Patterns
C++
Windows
WTL
How to get the accurate position of ole in a richedit?
by
lin98666521
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
Invalidate() method does not invoke OCM_DRAWITEM handler
by
joshiparsu
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 : ....{...... ...
General Programming
»
Uncategorised Quick Answers
»
General
WTL
how to change the size and color of Bullets in a richedit.? About PFM_NUMBERING.
by
lin98666521
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
how to change the size and color of Bullets in a richedit.? About PFM_NUMBERING.
by
lin98666521
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? ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
richedit ,How can i to make the text be centered vertically in a line,when i expand the line spacing?
by
Andrew Cherednik
Answer
26 Nov 2012
license:
CPOL
Set pf2.cbSize = sizeof(PARAFORMAT2) after you ZeroMemory the pf2 and it should all work
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
richedit ,How can i to make the text be centered vertically in a line,when i expand the line spacing?
by
lin98666521
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
WTL
XONOR pointers: eXclusive Ownership & Non Owning Reference pointers
by
john morrison leon
Article
17 Nov 2012
license:
CPOL
A smart pointer system for safe application development in C++.
Languages
»
C / C++ Language
»
Smart Pointers
VS2005
C++
Windows
ATL
WTL
Architect
Dev
Intermediate
Advanced
Visual-Studio
Continuous thinking: Essay: Ease and simplicity in software architecture
by
Tom Janssens
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
Development Lifecycle
»
Design And Architecture
»
Aspect Oriented Programming
C++
Windows
WTL
Gradient Bar Control
by
Julijan Sribar
Article
4 Nov 2012
license:
Zlib
A WTL control to display quality rate
Desktop Development
»
Progress Controls
»
General
C++
Windows
WTL
Intermediate
C++
VC10.0
PanView - The Design
by
John Michael Hauck
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
Development Lifecycle
»
Design And Architecture
»
Application Design
C++
Windows
WTL
Software Architecture Cheat Blog 2: Single Responsibility Principle
by
Shahriar Iqbal Chowdhury/Galib
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.
Development Lifecycle
»
Design And Architecture
»
Aspect Oriented Programming
C++
Windows
WTL
Stack based vs Register based Virtual Machine Architecture, and the Dalvik VM
by
Mark Sinnathamby
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
Development Lifecycle
»
Design And Architecture
»
Aspect Oriented Programming
C++
Windows
WTL
Log Harvester
by
Adam Wojnar
Tip/Trick
17 Sep 2012
license:
CPOL
A complete log viewer written in C++/WTL.
Platforms, Frameworks & Libraries
»
Wtl
»
Applications
C++
Windows
WTL
Dev
Linux
Intermediate
Design and the Gestalt Principle of Closure
by
Zac Gery
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.
Development Lifecycle
»
Design And Architecture
»
Application Design
C++
Windows
WTL
Design and the Gestalt Principle of Proximity
by
Zac Gery
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
Development Lifecycle
»
Design And Architecture
»
Design Patterns
C++
Windows
WTL
How to double click desktop icon programatically?
by
Michael Haephrati
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?
General Programming
»
Uncategorised Quick Answers
»
General
C++
C++/CLI
C
MFC
ATL
WTL
STL
how to choose multiple line in listview
by
Richard MacCutchan
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.
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
how to choose multiple line in listview
by
Abhinav S
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[^].
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
how to choose multiple line in listview
by
eschenhe
Question
14 Aug 2012
license:
CPOL
how to choose multiple line in listview
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
C/C++ ODBC Handle Wrappers
by
armagedescu
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
ATL
WTL
ODBC
Visual Studio 2012 theme support
by
Anna-Jayne Metcalfe
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.
Third Party Products
»
Reviews On Third Party Products And Tools
»
General
Vista
C++
Windows
Visual-Studio
ATL
WTL
Dev
Intermediate
Windows
Win7
C/C++ ODBC Handle Wrappers
by
JackDingler
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
ATL
WTL
ODBC
C/C++ ODBC Handle Wrappers
by
v3nOm_
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
General Programming
»
Uncategorised Quick Answers
»
General
C++
ATL
WTL
ODBC
C/C++ ODBC Handle Wrappers
by
v3nOm_
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
General Programming
»
Uncategorised Quick Answers
»
General
C++
ATL
WTL
ODBC
USB and CD ROM Enable/Disable
by
pluspoint
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C++/CLI
C
MFC
ATL
WTL
STL
how can i make my window that don't have the style "WS_CAPTION" have shadow of aero?
by
armagedescu
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 );
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
WTL
GDI+
Windows
Win7
how can i make my window that don't have the style "WS_CAPTION" have shadow of aero?
by
lin98666521
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
WTL
GDI+
Windows
Win7
Test Driven Design By Example
by
stephen.vaubell
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 [...]
Development Lifecycle
»
Design And Architecture
»
Application Design
C++
Windows
WTL
WTL & threads, how to create a window and message loop in a new thread?
by
mrbll
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
WTL
threads
Page 1 of 14
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
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