CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Xatrix

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: How to create/display a modal window? And surplus of win32 code

    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...
  2. Re: How to create/display a modal window? And surplus of win32 code

    Hi,

    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...
  3. Replies
    39
    Views
    18,086

    Re: how could I make an Invisible program!!!?

    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...
  4. Replies
    12
    Views
    13,657

    Re: remove the background of static text

    Does:
    HDC hdc = GetDC(hwnd);
    SetBkMode(hdc,TRANSPARENT);
    work?

    Just posting it because that's what I'm using when I output text using TextOut for example...
  5. Replies
    16
    Views
    4,296

    Re: How to create/display a modal window? And surplus of win32 code

    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.,...
  6. Replies
    16
    Views
    4,296

    Re: How to create/display a modal window? And surplus of win32 code

    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...
  7. Replies
    2
    Views
    845

    Re: Hiding process from SoftIce

    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,...
  8. Re: How to create/display a modal window? And surplus of win32 code

    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?

    :blush:

    P.S. If anyone...
  9. Re: How to create/display a modal window? And surplus of win32 code

    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...
  10. Re: How to create/display a modal window? And surplus of win32 code

    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...
  11. How to create/display a modal window? And surplus of win32 code

    Hello,

    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:
    #define WIN32_LEAN_AND_MEAN
    and without any MFC (well,...
  12. Replies
    24
    Views
    11,709

    Re: getting RGB from a 16-bit bitmap

    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)
  13. Replies
    24
    Views
    11,709

    Re: getting RGB from a 16-bit bitmap

    Hi,

    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...
  14. Replies
    1
    Views
    615

    Researching File Formats

    Hello, gentlemen,

    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...
  15. Replies
    10
    Views
    1,078

    Re: What's Wrong With My Code?

    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...
  16. Replies
    10
    Views
    1,078

    Re: What's Wrong With My Code?

    Here, this should do the trick. And btw, that appstring.cpp wasn't even needed.


    #include <iostream.h>
    #include <string>
    #include <conio.h>
    #include <iomanip.h>

    using namespace std;
  17. Replies
    6
    Views
    1,351

    Re: C++ Compiler Manual

    ahh you meant that, but yes, even though I have it on CDs, I prefer to use online version :)
  18. Replies
    6
    Views
    1,351

    Re: C++ Compiler Manual

    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...
  19. Replies
    6
    Views
    1,351

    C++ Compiler Manual

    Hi guys,

    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...
  20. Replies
    11
    Views
    1,577

    Re: local static variables

    :wave:
    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...
  21. Re: Lots of small [interesting] questions or "odds of C++ ?"

    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...
  22. Lots of small [interesting] questions or "odds of C++ ?"

    Greetings all,

    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...
  23. Replies
    9
    Views
    6,411

    Thank you so much!!! :) Everything's working...

    Thank you so much!!! :) Everything's working great!
  24. Replies
    9
    Views
    6,411

    Microsoft's compiler... I also thought it was...

    Microsoft's compiler... I also thought it was strange it didn't recognize it
  25. Replies
    9
    Views
    6,411

    first off, thank you for the reply. I did try...

    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...
Results 1 to 25 of 28
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured