Search:

Type: Posts; User: mayhem

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,227

    ok i can get that to work, but id like to put it...

    ok i can get that to work, but id like to put it in a .dll if possible, as i would like to apply it to other prorams when they are started
  2. Replies
    3
    Views
    1,227

    Want to run .dll when a program is started

    I only have C console programming experience.
    But i would like to make a .dll that i can put in my c:\windows\system32 folder.

    As everytime i open my calculator my numlock goes off.

    I would...
  3. Replies
    3
    Views
    2,073

    I can't assign a char * pointer to it, which is...

    I can't assign a char * pointer to it, which is what i would like to do.

    As for:
    "Also, don't just vomit up a bunch of code and expect us to debug the whole thing for you."

    I never asked you...
  4. Replies
    3
    Views
    2,073

    Need the missing line of code

    Hey. Using Borland C++ Builder 3 on Win XP

    Problem:
    Not quite sure how to test if the item in the direcory im travelling through is a folder. I have had a great big look here, there and...
  5. Replies
    3
    Views
    2,536

    Windows XP pro SP1 Borland C++ Biulder 3

    Windows XP pro SP1 Borland C++ Biulder 3
  6. Replies
    3
    Views
    2,536

    list size of files in directory

    Im not sure how to print the size of each file in this directory?
    any ideas?

    the only way i know is using ftell, which im not sure if i can use it in this situation.



    #include <dirent.h>...
  7. Replies
    2
    Views
    6,577

    ok i solved the problem. No idea what it was. ...

    ok i solved the problem. No idea what it was.
    Thanks anyway
  8. Replies
    2
    Views
    6,577

    ok sorry i've just seen a mistake in my code. It...

    ok sorry i've just seen a mistake in my code. It should read


    #include <condefs.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    #include <time.h>
    #include <windows.h>
    #include...
  9. Replies
    2
    Views
    6,577

    Call of nonfunction

    #include <condefs.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    #include <time.h>
    #include <windows.h>
    #include <winsock.h>

    fd_set fdread;
    struct ItemNode *itemlist = NULL;
  10. Thread: GetDlgItemText

    by mayhem
    Replies
    5
    Views
    9,029

    ok, i eventually found it on MSDN, the function...

    ok, i eventually found it on MSDN, the function cant be called to retrieve text from other processes.

    the solution in case anyone has the need: is to simple copy to the the windows clipboard as...
  11. Replies
    2
    Views
    9,477

    sending enter key message to window

    I have the handle names of a edit box which is a child of a combo box. these two controls are in another application.

    using:



    SendMessage(txtBox, WM_SETTEXT, NULL,...
  12. Thread: GetDlgItemText

    by mayhem
    Replies
    5
    Views
    9,029

    ok i saw a post down the list, it said you can...

    ok i saw a post down the list, it said you can use the resourse editor, this edit box i am trying to recieve text from is an another application.
    so im not sure about how to do the equivilient, i...
  13. Thread: GetDlgItemText

    by mayhem
    Replies
    5
    Views
    9,029

    GetDlgItemText

    Im using this functiuon here:

    UINT GetDlgItemText(HWND hDlg,
    int nIDDlgItem,
    LPTSTR lpString,
    ...
  14. Replies
    2
    Views
    1,602

    retreiving console window text

    I currenly have a console chat client.

    Is there anyway i can make a program that recieves window messages sent from the console window each time text is displayed.

    Then each time my program...
  15. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    Windows 2000 Pro

    Windows 2000 Pro
  16. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    ok ill look up AttachThreadInput() . no doubt ill...

    ok ill look up AttachThreadInput() . no doubt ill need it sometime.

    yeah, thats the code, and yeah it worked
  17. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    no i didn't. I just though the control might to...

    no i didn't. I just though the control might to have focus before i could set the text.

    But there is no need for setfocus anymore
  18. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    ok, sendmessage worked. how simple. thanks for...

    ok, sendmessage worked. how simple.

    thanks for your help
  19. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    //------------------------------------------------...

    //---------------------------------------------------------------------------
    #include <process.h>
    #include <stdlib.h>
    #include <time.h>
    #include <vcl.h>
    #include <Windows.h>
    #pragma hdrstop
    ...
  20. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    ah isee. the second bit of code ...

    ah isee.

    the second bit of code


    ::SetFocus(hBut)


    i also tried:
  21. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    i used hBut = FindWindowEx(hWnd, hBut,...

    i used



    hBut = FindWindowEx(hWnd, hBut, "TEdit", NULL);


    i used spy++ yo check the handle is right
  22. Thread: SetFocus error

    by mayhem
    Replies
    15
    Views
    3,824

    SetFocus error

    I have just recieved the handle of an Edit box in another application. I want to put some text in there.

    Does the control have to have focus before i place text in there?

    I looked up MSDN, it...
  23. Replies
    3
    Views
    12,305

    Thanks that worked heaps better. That opened the...

    Thanks that worked heaps better.
    That opened the new window, but now generated another error.

    The new window contains two comamnd buttons and 2 edit boxes

    This is where i try to assgin the...
  24. Replies
    3
    Views
    12,305

    C++ Win API SendMessage Function

    I use Borland C++ Builder 3, Win 200 Pro.

    From within my program I use SendMessage to click a command button in another application. This works and another window pops up, this new window has...
Results 1 to 24 of 25