Try this:
(http://msdn.microsoft.com/library/
default.asp?url=/library/en-us/shellcc/platform/commctls/staticcontrols/aboutstaticcontrols.asp)
//handle declaration
HWND hwndLabel;
//code...
Type: Posts; User: triste
Try this:
(http://msdn.microsoft.com/library/
default.asp?url=/library/en-us/shellcc/platform/commctls/staticcontrols/aboutstaticcontrols.asp)
//handle declaration
HWND hwndLabel;
//code...
Yes, I would think a static control is what would be suitable...
>>What is the standard/simplest way of doing this in a Windows APP using C++, that is not based upon MFC, but goes straight with...
Hi,
When you use an EDIT control for user input in a Visuall C++ Windows App usuing API (NO MFC), it's fairly straightforward how to do this using the CreateWindow() and assigning it to a...
i've always thought how nice it would be if someone would provide a site that is thoroughly comprehensive in subject matter, error trapping, code examples, etc. rather than the snippets you may find...
Hi toysoldier,
a good beginning book for visual c++ is called "an introduction to programming with C++" by a woman called Diane Zak. the ISBN # for the book is 0-7600-5018-x. the book gives many...
hi elad,
i'll take a look at this as well. the author's name as previously mentioned is Don Gosselin. i do not think he has the ability to clearly express all of the matters that should be...
hi elad,
thanks for the response and attempt. i commented out the overloaded unary increment operators i was using and inserted your code to test and see the results. the prefix increment...
hi hermitsky,
Microsoft Foundation Classes, or MFCs, are libraries of classes that can be used as building blocks in creating Windows applications with Visual C++ - note, this means Windows...
This is appropriate for what i was originally trying to do:
//declarations of overloaded operators in .h file
void operator ++();
void operator ++(int);
//definitions of overloaded...
hi dazed,
maybe this will assist??
was wondering if there is any easy way to have mutiple deposits
with only declaring one variable
Code:
short month = 0; //counter
float dep =...
i've found more informative and ready repsonses as well - greater depth of explanation and reference points.
It's good to know the things that have been shared. The book i am using has no other references for overloaded unary operators, therefore the code that you see - there also aren't any more detailed...
Thw changes i see are the int keyword added before the copy constructor declaration and definition in the interface and implementation files, and the system("pause"); command statement before the...
hi louis,
The C++ standard requires that main() be defined with a return type of int. "void main()" is
not, and never has been, legal C++. No matter what some compilers chose to promote.
Why...
I'm writing a program that has execution problems when using a destructor. I have provided a default constructor, parameterized constructor, copy constructor, and overloaded assignment operator. ...