Why don't you just select it in the project options?
Support Windows XP Themes
Type: Posts; User: Yuri
Why don't you just select it in the project options?
Support Windows XP Themes
You could just add it:
int x = 9;
cout << "00" << x << endl;//009
To work with all kinds of numbers:
tsk... discriminating elderly people.
'It doesn't provide acces to modify it's internal character data', ok, but why it doesn't?
To fill a C++ string you are able to use std :: cin >> String; and getline ( cin, String );, in a console...
Could you stop complaining about my signature, there is nothing wrong with it, you just hate dutch people, really, what is your problem against me?
What do you mean? What has that to do with my problem?
Hi.
For example:
If I use GetWindowText, I use it as follows:
char WindowCaption [ 1024 ];
GetWindowText ( Window, WindowCaption, 1024 );
I know this isn't about the problem you had but this another problem about the systemtray icon, it is easy to fix, I'll try to explain the problem a bit better. When explorer.exe crashes or is...
If explorer.exe is terminated, reason doens't matter in this exmaple, and explorer.exe is running again after it was terminated, your icon would be gone from the Notification Area, do you know how to...
Woot, I finally got it now, here is an example how to get all visible windows that are running on desktop, from this code I can do what I want:
#include <iostream>
#include <windows.h>
...
Note: I know that people shouldn't program like this but I only wanna know How To give a pointer an adress like that, it gives compile errors.
Hi.
Why isn't it possible to 'manually' give a pointer the adress of a variable?
Example:
int Integer;
int * Pointer;
Pointer = 0x22ff70;
The one thing (and many other things) cpnoob never learned...
Hi.
Here is my problem:
I want to get the HWND of every window that is running and terminate the window except my own window
(it's for a program to protect my computer).
I just can't get it...
On Dev-C++, it will only recompile the source if the source in the cpp file is edited, so just change something in the main cpp file and change it back, like removing a space or something and press...
You could write your own string to integer and integer to string converters or use one that already exists.
Read the both numbers of the textboxes and convert those to an integer add them together like a normal integer and convert the number back to a string and display it.
****, I just found it, I have searched very long on the forums and couldn't find it, now I just found it.
if ( IsIconic ( FindWindow ( "TheOtherWindowClass", "TheOtherWindowCaption" ) ) )
That...
Hi.
I am having trouble to detect something.
If you want to know if a window is hidden you could use 'IsWindowVisible', easy to use.
But if you want to know if a window is minimized (and not your...
A single char isn't the same as a string, use '*', '/', etc. instead of "*", "/".
Put this in your WINAPI WinMain, now your program also reacts when your mouse isn't on your window:
for ( ; ; )
{
if ( PeekMessage ( & msg, NULL, 0, 0, PM_REMOVE ) )
{
I tried to do it on one way, it worked but I really don't recommend you to use it. Though, if you want the code, I'll post it.
This code is C and this section of forum is for C++. Though, this should compile with Dev-C++, it sais you have a problem with you header, maybe you should try to reinstall Dev-C++.
You will need another tab character at the end to overwrite the remain characters.
To Tonto:
The displayed output with the carriage return character and the tab character will be incorrect,
you will see something like: 0 06411.