Search:

Type: Posts; User: Onkel BeBu

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,516

    If you got the second string which is to be...

    If you got the second string which is to be converted in
    *string you could try this:



    #include <string.h>

    char str2[] = "1234567890";

    int cnt = strspn ( string, str2 );
  2. Replies
    17
    Views
    2,655

    i dont know but perhaps this will help you ...

    i dont know but perhaps this will help you

    SendMessage(
    HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam
    );
  3. Replies
    2
    Views
    967

    thx i searched for something like that!!

    thx i searched for something like that!!
  4. Replies
    2
    Views
    967

    Need an idea

    Hi i got following problem:

    I get a string which consists of substrings seperated by :
    In fact they can look like one of these



    POS:X:DIST:IMM
    POS:DIST:IMM
    POS:IMM
  5. Replies
    1
    Views
    1,208

    Intercept Keystroke

    I am writing a small konsole game ( tic tac toe, what else :) ) and want to get a number from the user. Now i dont want that the user has to hit enter. I hope that is enough that too understand me.
  6. Replies
    4
    Views
    1,358

    Sorry forgot to say that this line signal...

    Sorry forgot to say that this line signal (SIGCHLD, SIG_IGN);
    has to be removed. In POSIX stands you must not use sigchld with sig_ign. Dont know anymore why, you can just dig for yourself or accept...
  7. Replies
    6
    Views
    3,919

    creating a daemon

    Hi

    i want to create a programm that "forks" itself into the background. If i use fork and exit the main process the child process are all terminated. So has anybody help?
  8. Replies
    4
    Views
    1,358

    The port issue is simple to solve, you hace to...

    The port issue is simple to solve, you hace to convert it to networkbyte order, just like you did it with the ip:


    sin.sin_port = htons(6666);

    For your processes you can add following...
  9. Replies
    2
    Views
    1,060

    Systray Icon removeable

    Is it possible to remove an other apps icon from the systray?
    I am going to write a frontend for an app and therefore want to give the user the possibilty to completly hide the other app, until it...
  10. Replies
    3
    Views
    1,194

    No thanks Fordys post has completly solved the...

    No thanks Fordys post has completly solved the problem
  11. Replies
    3
    Views
    1,194

    Window Status

    Is it possible to get the status of other windows, e.g. if it is minimized or maximized?

    To be more concrete i got a windowhandle and now i want to know the status of this window.
  12. Replies
    8
    Views
    1,467

    BOOL InvalidateRect( HWND hWnd, //...

    BOOL InvalidateRect(
    HWND hWnd, // put here your window handle
    CONST RECT* lpRect, // if this is NULL the entire window gets an update
    BOOL bErase // if this is true the...
  13. Replies
    8
    Views
    1,467

    You could also use InvalidateRect(); and put it...

    You could also use InvalidateRect(); and put it into the loop where you query the messages
  14. Replies
    3
    Views
    1,055

    no taskbar , but systray

    Hi,

    i want to make an app that is never shown in the taskbar, bur always in the systray. I have searched the board but i only found example for minimizing to tray
  15. Thread: Free form

    by Onkel BeBu
    Replies
    1
    Views
    787

    Free form

    Is it ossible to have free window shapes?

    I think of following :
    I got an transparent png, and now i want to only paint the area
    the png is nontransparent. When i do it in the normal way the...
  16. Replies
    2
    Views
    884

    Thanks it worked.

    Thanks it worked.
  17. Replies
    2
    Views
    884

    Pin to dekstop

    Hello

    i am using vc++ 6 and watend to know how you can do, that a window is drawn like it belongs to the background, so that it does not cover other windows?
Results 1 to 17 of 17