Search:

Type: Posts; User: Yuri

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: XP Style

    by Yuri
    Replies
    4
    Views
    1,974

    Why don't you just select it in the project...

    Why don't you just select it in the project options?
    Support Windows XP Themes
  2. Replies
    4
    Views
    1,986

    You could just add it: int x = 9; cout

    You could just add it:


    int x = 9;
    cout << "00" << x << endl;//009


    To work with all kinds of numbers:
  3. Replies
    10
    Views
    3,363

    tsk... discriminating elderly people.

    tsk... discriminating elderly people.
  4. Replies
    10
    Views
    3,363

    'It doesn't provide acces to modify it's internal...

    '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...
  5. Replies
    10
    Views
    3,363

    Could you stop complaining about my signature,...

    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?
  6. Replies
    10
    Views
    3,363

    What do you mean? What has that to do with my...

    What do you mean? What has that to do with my problem?
  7. Replies
    10
    Views
    3,363

    C++ string in a windows function

    Hi.
    For example:

    If I use GetWindowText, I use it as follows:



    char WindowCaption [ 1024 ];

    GetWindowText ( Window, WindowCaption, 1024 );
  8. Replies
    10
    Views
    1,578

    I know this isn't about the problem you had but...

    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...
  9. Replies
    10
    Views
    1,578

    If explorer.exe is terminated, reason doens't...

    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...
  10. Replies
    1
    Views
    2,718

    Woot, I finally got it now, here is an example...

    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>
    ...
  11. Replies
    3
    Views
    1,479

    Note: I know that people shouldn't program like...

    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.
  12. Replies
    3
    Views
    1,479

    'Manually' give adress to pointer

    Hi.
    Why isn't it possible to 'manually' give a pointer the adress of a variable?
    Example:


    int Integer;

    int * Pointer;

    Pointer = 0x22ff70;
  13. Thread: Fix this plz

    by Yuri
    Replies
    21
    Views
    2,912

    The one thing (and many other things) cpnoob...

    The one thing (and many other things) cpnoob never learned...
  14. Replies
    1
    Views
    2,718

    Getting all window handles on taskbar

    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...
  15. Replies
    7
    Views
    968

    On Dev-C++, it will only recompile the source if...

    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...
  16. Replies
    3
    Views
    1,203

    You could write your own string to integer and...

    You could write your own string to integer and integer to string converters or use one that already exists.
  17. Replies
    3
    Views
    1,203

    Read the both numbers of the textboxes and...

    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.
  18. Replies
    1
    Views
    1,395

    ****, I just found it, I have searched very long...

    ****, 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...
  19. Replies
    1
    Views
    1,395

    Detecting if a window is minimized

    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...
  20. Replies
    3
    Views
    1,178

    A single char isn't the same as a string, use...

    A single char isn't the same as a string, use '*', '/', etc. instead of "*", "/".
  21. Thread: Mouse Program

    by Yuri
    Replies
    23
    Views
    3,026

    Put this in your WINAPI WinMain, now your program...

    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 ) )
    {
  22. Thread: Mouse Program

    by Yuri
    Replies
    23
    Views
    3,026

    I tried to do it on one way, it worked but I...

    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.
  23. Replies
    3
    Views
    1,728

    This code is C and this section of forum is for...

    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++.
  24. Thread: Mouse Program

    by Yuri
    Replies
    23
    Views
    3,026

    You will need another tab character at the end to...

    You will need another tab character at the end to overwrite the remain characters.
  25. Thread: Mouse Program

    by Yuri
    Replies
    23
    Views
    3,026

    To Tonto: The displayed output with the carriage...

    To Tonto:
    The displayed output with the carriage return character and the tab character will be incorrect,
    you will see something like: 0 06411.
Results 1 to 25 of 142
Page 1 of 6 1 2 3 4