Type: Posts; User: Xatrix
Search took 0.01 seconds.
January 21st, 2006, 02:45 PM
Sorry, Ovidiu, but I fail to understand from your post what I said wrong. I did pay enough attention to posts, it's just that they were reffering to either MFC or using resource editor and...
January 21st, 2006, 01:52 PM
I just want to answer my own question (for those who might find this post via search). I've been reading abou that DialogBox function and tried to understand, why the window which is displayed...
January 21st, 2006, 01:34 PM
I'm pretty surprised you guys are actually helping him. The guy did not clearly explained why he wants to make the program to be invisible. I also do agree with Marc that at least administrator must...
January 18th, 2006, 03:54 AM
HDC hdc = GetDC(hwnd);
Just posting it because that's what I'm using when I output text using TextOut for example...
January 16th, 2006, 02:02 PM
well d'oh !! I didn't know VC++ treats *.c files as code written in C :rolleyes: I mean, it's pretty incorrect to *identify* files by its extension ... there are better ways, such as headers e.g.,...
January 16th, 2006, 11:54 AM
Thanks ovidiucucu, I will check out the threads ... and upload the source :) Just got a bit sidetracked by something :) You already know I'm using plain WinAPI, which means the look of the buttons...
January 16th, 2006, 11:32 AM
I guess you could somehow hide it from being detected by SoftICE, but what about other debuggers where you explicitly launch a process right in the debugger IDE ? Like OllyDbg for instance. Also,...
January 15th, 2006, 07:28 AM
Ok sorry, but could you elaborate a bit more about how I make this code work using recource files, and without MFC? Is there going to be some sort of a template in .rc?
P.S. If anyone...
January 14th, 2006, 11:42 AM
well, I'm sure that's not how LOC are counted. Nobody will write that CreateWindowEx function in one line, because it'll be unreadable, hence all those lines are "effective" ... well, of course one...
January 14th, 2006, 11:30 AM
well, OK, I guess I'll have to cope with writing all this by hand.
But I still don't understand how can I use DialogBox() to create a *window* (a.k.a. Form). You see, I don't need a modal...
January 14th, 2006, 10:48 AM
I actually have two problems, but will start with a simple one.
I'm writing a usual but very raw win32 application, i.e. with:
and without any MFC (well,...
January 3rd, 2006, 09:57 AM
ohh, that's it! Thank you, Marc! :wave:
(wish it would have been mentioned in other sources cause that was the vital info which was omitted)
January 3rd, 2006, 09:20 AM
sorry to bump the old thread, but just thought better to post here than start a new thread where I'll be told to do a forum search ... I've just did, plus google search ;)
Anyway, I just...
December 29th, 2005, 05:06 PM
I'm not sure if I'm posting it in the right section, but at least it's better to post it here than in some specific forum because of the nature of the question.
I'm not even...
December 10th, 2005, 02:38 PM
that's the point, guess they differ somehow, but not wrong. Yours (headers) won't and don't work with my compiler (using VC++ v6.0 SP6), in fact, I've pasted the working code. If you know the reason...
December 10th, 2005, 02:07 PM
Here, this should do the trick. And btw, that appstring.cpp wasn't even needed.
using namespace std;
December 10th, 2005, 01:03 PM
ahh you meant that, but yes, even though I have it on CDs, I prefer to use online version :)
December 10th, 2005, 11:55 AM
Thanks guys. But, stober, do you mean you have a copy of the electronic manual for Microsoft compiler? Is it available online? Can it be downloaded in general? I'd like to take a peek at that monster...
December 9th, 2005, 06:38 PM
I actually really feel stupid about what I'm about to ask but I'm stumpted. Sometimes when I read some new book, the author says, see your compiler manual (a.k.a documentation / user's...
October 18th, 2005, 02:35 PM
life of a static variable declared in a function begins at the time of 1st execution of the function and till the program ends. Yes it's allocated only once and contains the value which was...
October 18th, 2005, 02:21 PM
Thanks a lot everyone for all the replies! I very much appreciate the time you're taking to write all this!
Ok, first off I'm using Microsoft's compiler and Visual Studio 6.0 with Service Pack 6...
October 18th, 2005, 09:17 AM
Just a few intro words. I'm not new to programming, but I am sort of to C++. It's just that I didn't learn it as things are usually learnt (I read a little of this, a little of...
Thank you so much!!! :) Everything's working great!
Microsoft's compiler... I also thought it was strange it didn't recognize it
first off, thank you for the reply.
I did try the SetTextColor function but it's a no go (but then again, maybe I do it improperly, I'm kinda new at WinAPI).
And as for WM_CTLCOLOR it says...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!