15,607,737 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Python questions
View Javascript questions
View C++ questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Artificial Intelligence
Artificial Intelligence
Neural Networks
Machine Learning
Deep Learning
ML.Net
Big Data
Data Science
Tensorflow
Internet of Things
Internet of Things
Arduino
Edge Device
Raspberry-Pi
Wearables
IoT Edge
Industrial IoT
DevOps
DevOps
Agile
Automation
Continuous Build
Continuous Delivery
Continuous Deployment
Continuous Integration
Deployment
Git
Installation
Integration Testing
Load Testing
Quality Assurance
TFS
Unit Testing
Testing
Containers
Containers
Docker
Kubernetes
Virtual Machine
High Performance Computing
High Performance Computing
GPU
Parallel Processing
Parallelization
Vectorization
Hosted Services
Hosted Services
AWS
Cordova
ExtJS
Google Cloud
Microservices
PhoneGap
Serverless
Storage
Web Hosting
WordPress
Azure
Security
Security
Blockchain
Cryptography
Encryption
Identity
Identity Server
Web Development
Web Development
Blazor
CSS3
Flask
HTML5
Kestrel
LESS
Nginx
Node.js
React
SCSS
Spring
Vue.js
ASP.NET
CSS
Apache
HTML
IIS
XHTML
Mobile Apps
Mobile Apps
Flutter
Ionic
iOS
Nativescript
React Native
Xamarin
Windows Mobile
Android
Desktop Programming
Desktop Programming
Cocoa
Electron
QT
Universal Windows Platform
X11
Windows Forms
ATL
MFC
Swing
Win32
WTL
WPF
XAML
System
Database Development
Database Development
Data Visualization
Elasticsearch
Lucene
MariaDB
MongoDB
NoSQL
PostgreSQL
Redis
MySQL
SQL Server
Productivity Apps and Services
Productivity Apps and Services
LibreOffice
OpenOffice
Sharepoint
Team Communication Tools
Biztalk
Microsoft Office
SAP
Game Development
Game Development
Doom
Kinect
Playstation 4
Playstation 5
Unity
Unreal
XBox
Multimedia
Multimedia
Audio
Image Processing
Video
Audio Video
DirectX
GDI
GDI+
OpenGL
General Programming
General Programming
Algorithms
Compression
Computational Geometry
Emulation
Exceptions
File
Internet
Localization
Memory Management
Optimization
Parser
Performance
Regular Expressions
Sorting
State Machines
Architecture
Design / Graphics
Printing
String
Threads
Usability
Programming Languages
Programming Languages
ASM
Bash
Basic
COBOL
Dart
Go
Haskell
Kotlin
Lua
Pascal
R
Razor
Rust
Scala
Swift
Typescript
Objective C
Visual Basic
VBScript
C++
C#
F#
FORTRAN
Java
Javascript
Perl
Python
Ruby
SQL
PHP
PowerShell
XML
Articles by Alain Rist (Articles: 10, Tip/Tricks: 5)
Articles: 10, Tip/Tricks: 5
Articles
Technical Blogs
Tips and Tricks
Reference Articles
Projects
Average article rating: 4.74
Desktop Programming
WTL
A Pocket PC WTL image viewer
13 Dec 2004 Updated:
13 Dec 2004
Rating: 4.80/5 Votes: 19 Popularity: 5.91
Licence: CPL Views: 164,712
Bookmarked: 57
Downloaded: 513
Please
Sign up or sign in
to vote.
Some proposed WTL classes and functions at work: CAppWindow, CFullScreenFrame, CStdDialog, CF_DIB clipboard support, and more...
Relook your Old and New Native Applications with a Ribbon UI under Vista or Windows 7 (WTL)
23 Jan 2010 Updated:
12 Apr 2010
Rating: 4.96/5 Votes: 82 Popularity: 9.16
Licence: CPL Views: 226,917
Bookmarked: 149
Downloaded: 4,725
Please
Sign up or sign in
to vote.
Including a Ribbon UI Implementation Guide with examples and a dual UI enabled legacy application
CToolTipDialog class : a simple WTL class to enable tooltips in your dialogs
9 Nov 2003 Updated:
9 Nov 2003
Rating: 4.83/5 Votes: 15 Popularity: 5.38
Licence: CPOL Views: 161,767
Bookmarked: 41
Downloaded: 3,503
Please
Sign up or sign in
to vote.
Add this small class to your existing dialog inheritance list and get nice tooltips on controls and dialog.
Integrate the OpenOffice.org Power in a WTL (or Other Native Win32) Application
9 Jan 2009 Updated:
18 Feb 2009
Rating: 4.96/5 Votes: 33 Popularity: 7.40
Licence: CPL Views: 79,045
Bookmarked: 51
Downloaded: 3,197
Please
Sign up or sign in
to vote.
OOo::DocWindow and WTL::COOoCtrl classes to work on any Microsoft-Office document, and Open Office SDK integration in Visual Studio/VCExpress 2005/2008
Mobile Apps
Add zooming to WTL CScrollImpl
23 Oct 2004 Updated:
2 Nov 2004
Rating: 4.35/5 Votes: 7 Popularity: 3.68
Licence: CPOL Views: 69,460
Bookmarked: 28
Downloaded: 2,728
Please
Sign up or sign in
to vote.
CZoomScrollImpl extends WTL CScrollImpl to allow continuous zooming.
Windows Mobile
Unusual but Useful Dialog-based Classes Designed for Specialization
6 Nov 2007 Updated:
11 Nov 2007
Rating: 4.89/5 Votes: 41 Popularity: 7.83
Licence: CPOL Views: 87,154
Bookmarked: 78
Downloaded: 2,556
Please
Sign up or sign in
to vote.
Featuring cell menu, in-place editor, single control and split dialogs, Vista shell and Mobile file controls and selection dialogs
Frame Related Classes and Message Map Macros for Windows Mobile and Desktop WTL Applications (Part 1)
28 Jul 2009 Updated:
29 Jul 2009
Rating: 4.80/5 Votes: 6 Popularity: 3.74
Licence: CPL Views: 32,293
Bookmarked: 23
Downloaded: 1,049
Please
Sign up or sign in
to vote.
Message map macros, split frames, full screen implementation, and automatic mapping of UI elements.
WTL CString Class Implemented with the Standard C++ Library
28 Sep 2006 Updated:
28 Sep 2006
Rating: 4.25/5 Votes: 8 Popularity: 3.84
Licence: CPL Views: 93,262
Bookmarked: 26
Downloaded: 763
Please
Sign up or sign in
to vote.
Plug-in CodeProject's CStdString as WTL::CString and get the WTL CString support with a Standard C++ Library implementation.
Programming Languages
C++
Have a glass with WTL!
30 May 2007 Updated:
5 Jun 2007
Rating: 4.99/5 Votes: 26 Popularity: 6.79
Licence: CPL Views: 137,071
Bookmarked: 80
Downloaded: 3,562
Please
Sign up or sign in
to vote.
Enable Aero glass with your native (WTL) applications and keep backwards compatibility
Visual C++ 9.0
SimpleDiff: A Simple File Comparison Utility
29 Aug 2009 Updated:
3 Sep 2009
Rating: 4.53/5 Votes: 6 Popularity: 3.52
Licence: CPOL Views: 30,702
Bookmarked: 26
Downloaded: 514
Please
Sign up or sign in
to vote.
A submisson to the CodeProject Lean and Mean challenge.
Average blogs rating:
No blogs have been submitted.
Average tips rating: 4.44
General Programming
String
Converting TCHAR[] to string, while getting PC Name [Tip/Trick]
8 Jun 2010 Updated:
8 Jun 2010
Rating: 4.67/5 Votes: 3 Popularity: 2.23
Licence: CPOL Views: 10,700
Bookmarked: 1
Downloaded: 0
Please
Sign up or sign in
to vote.
You might have considered using ::GetComputerNameA() which does the conversion for you:std::string GetSystemName(){ CHAR sBuf[MAX_COMPUTERNAME_LENGTH + 1] = {0}; DWORD dwLen = MAX_COMPUTERNAME_LENGTH; ::GetComputerNameA(sBuf, &dwLen); return std::string(sBuf);}Note...
Load a Windows string resource into a std::string or std::wstring [Tip/Trick]
8 Jun 2010 Updated:
12 Jun 2010
Rating: 4.36/5 Votes: 7 Popularity: 3.68
Licence: CPOL Views: 32,102
Bookmarked: 6
Downloaded: 0
Please
Sign up or sign in
to vote.
A set of C++ functions to load the resource into an existing string or build the string from it
Programming Languages
C++
Collect data from an object of some other class [Tip/Trick]
26 Feb 2010 Updated:
28 Feb 2010
Rating: 4.00/5 Votes: 1 Popularity: 0.00
Licence: CPOL Views: 7,271
Bookmarked: 2
Downloaded: 0
Please
Sign up or sign in
to vote.
There are circumstances, such as report or log entry, where we need to collect data from an object of some other (related or not) class. The C++ language only requires that we instruct the compiler how we intend to do it. This is simply achieved by defining a constructor of recipient_class...
A simple program to solve quadratic equations with [Tip/Trick]
10 Nov 2010 Updated:
16 Nov 2010
Rating: 4.60/5 Votes: 4 Popularity: 2.77
Licence: CPOL Views: 10,450
Bookmarked: 3
Downloaded: 0
Please
Sign up or sign in
to vote.
I prefer this :) #include #include #include #include static const double bad_double = std::numeric_limits::quiet_NaN();class QuadSolver{ static bool IsZero(double val) { return (val == 0) || (fabs(val) <...
C++11
Remove Diacritical Marks in a Unicode String [Tip/Trick]
28 Nov 2010 Updated:
29 Nov 2010
Rating: 4.56/5 Votes: 4 Popularity: 2.74
Licence: CPOL Views: 23,000
Bookmarked: 3
Downloaded: 0
Please
Sign up or sign in
to vote.
With a helper CharMap class using VC2010 C++0x implementation
Average reference rating:
No reference articles have been posted.
Average project rating:
No projects have been posted.
Alain Rist
France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.