Search:

Type: Posts; User: pldd4

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,509

    Cheers mate, sorted :D :D

    Cheers mate, sorted :D :D
  2. Replies
    2
    Views
    1,509

    Placing GUI in Top Right Corner

    Hi,

    Ive got an application written and running.

    However when the program starts i'd like the app to be located in the top right corner of the screen.

    How can i do this please??

    Currently...
  3. Replies
    3
    Views
    940

    hi, sorry, im using MS VS VC++ 6.0. thanks

    hi,

    sorry, im using MS VS VC++ 6.0.

    thanks
  4. Replies
    3
    Views
    940

    Creating Version Numbers

    Hi,

    Hope someone can help me.

    What i would like to do is create a version number everytime the program is compiled, put the version number on the GUI and place it in a txt file.

    Any ideas??...
  5. Thread: Comparing

    by pldd4
    Replies
    7
    Views
    1,225

    thanks guys, yeah it would be a problem. ie,...

    thanks guys,

    yeah it would be a problem. ie, i would need it to match say "Worl" with "Hello World" not just the begining.

    So how would this strstr function work exactly within my code?
    ...
  6. Thread: Comparing

    by pldd4
    Replies
    7
    Views
    1,225

    Can no-one help here??! :( please, cant be...

    Can no-one help here??! :(

    please, cant be that hard! Can it?!

    thanks
  7. Replies
    21
    Views
    4,727

    ok, try again! heres what i have done:- ...

    ok, try again!

    heres what i have done:-




    // vLog
    void vLog(char* vsText)
    {
  8. Thread: Comparing

    by pldd4
    Replies
    7
    Views
    1,225

    Thanks, ermm, maybe i should of explaned more....

    Thanks,

    ermm, maybe i should of explaned more.

    The utDtiLine[viLine].sANI char (the char which i want to compare the data in the text box to) is changed extremely often, every second say. It...
  9. Thread: Comparing

    by pldd4
    Replies
    7
    Views
    1,225

    Comparing

    Hi,

    Im trying to compare a char entered in a text box with another char.

    At the moment it works fine, if the whole of the data field in the text box matches the stored char. It works.

    eg,
    ...
  10. Replies
    21
    Views
    4,727

    Rite, here is my code so far, // vLog...

    Rite, here is my code so far,




    // vLog
    void vLog(char* vsText)
    {
    #if defined gtLOG
    char sDateTime[20];
  11. Replies
    21
    Views
    4,727

    Hi, Nope ive not tried MFC. Should i? Ive...

    Hi,

    Nope ive not tried MFC. Should i? Ive just started reading up on it.

    I thought we were gettin somewhere though with the previous stuff!? hmmm

    :(
  12. Replies
    21
    Views
    4,727

    ok! The INITCOMMONCONTROLSEX is used to load...

    ok!

    The INITCOMMONCONTROLSEX is used to load the common control classes from the dll

    The ListView_SetItemState changes the state of the item in the list view control. In this case it sets the...
  13. Replies
    21
    Views
    4,727

    ok! The INITCOMMONCONTROLSEX is used to load...

    ok!

    The INITCOMMONCONTROLSEX is used to load the common control classes from the dll

    The ListView_SetItemState changes the state of the item in the list view control. In this case it sets the...
  14. Replies
    21
    Views
    4,727

    Yes, you were right! :) Ok, so ive put that...

    Yes, you were right! :)

    Ok, so ive put that code in


    INITCOMMONCONTROLSEX ICC;
    ICC.dwSize=sizeof(INITCOMMONCONTROLSEX);
    ICC.dwICC=ICC_LISTVIEW_CLASSES;...
  15. Replies
    21
    Views
    4,727

    ok ive linked to comctl32.lib by going into...

    ok ive linked to comctl32.lib by going into project settings and adding it to the list. also included commctrl.h #include "commctrl.h"

    Im on Windows NT 4.0 with Internet Explorer 6

    Ive got the...
  16. Replies
    21
    Views
    4,727

    Cheers mate. Cheques on its way! ;) Rite, ive...

    Cheers mate. Cheques on its way! ;)

    Rite, ive put the code in. Like so..




    INITCOMMONCONTROLSEX ICC;
    ICC.dwSize=sizeof(INITCOMMONCONTROLSEX);
    ICC.dwICC=ICC_LISTVIEW_CLASSES;
  17. Replies
    21
    Views
    4,727

    Im going to try and just keep the listbox focused...

    Im going to try and just keep the listbox focused on the newest item added to the list, so its constantly scrolled to the bottom, first!

    ive included the commctrl.h

    Really not sure how the use...
  18. Thread: Comparing

    by pldd4
    Replies
    2
    Views
    1,068

    Hi, ok here is the whole code, ive tried to...

    Hi,

    ok here is the whole code, ive tried to put the relevant code in orange! Dont know if it worked, if not just read previous post!






    void LogData(int viLine, char* vsANI, char* vsDNI)
  19. Thread: Comparing

    by pldd4
    Replies
    2
    Views
    1,068

    Comparing

    Hi,

    Im trying to compare a char* (vsDni) with the data from a text box.

    Here is a sample of the code.




    int dni;
  20. Replies
    21
    Views
    4,727

    ok, ive searched and read some more of your...

    ok,

    ive searched and read some more of your posts.

    I tried




    SendMessage(hListView, LVM_SCROLL, (WPARAM)0, (LPARAM)(ItemRect.bottom-ItemRect.top));
  21. Replies
    21
    Views
    4,727

    Hi, Thanks for the reply. Would it be...

    Hi,

    Thanks for the reply.

    Would it be possible for you to give me an example, as im fairly new to this, so would help a lot! Or can anyone else help out here!? :confused:

    Here is part of...
  22. Replies
    21
    Views
    4,727

    ListBox Scrolling Problems

    Hi,

    Ive got a listbox on my GUI which is constantly getting data displayed onto it.

    How can I limit the amount of data that is kept on the listbox, to say 100 lines??

    How can I keep the...
  23. Thread: File Stream I/O

    by pldd4
    Replies
    2
    Views
    1,753

    Ok made that little change. Thanks Ive also...

    Ok made that little change. Thanks

    Ive also added more comments to code to try and help you lot help me! :p





    //Automatic Reset
  24. Thread: File Stream I/O

    by pldd4
    Replies
    2
    Views
    1,753

    File Stream I/O

    HI,

    Ive got a txt file with 120 lines in it, basically all i want to do is read through each line in it (looping around) and once in that line position, check to see if it contains an "R", if it...
  25. Replies
    10
    Views
    43,300

    Hi, Right, ive re-installed VC++. still didnt...

    Hi,

    Right, ive re-installed VC++. still didnt work. All tho the re-install did put the rc.exe in the path.

    So, as i mentioned breifly before i installed DDK & SDK. i uninstalled SDK and now it...
Results 1 to 25 of 30
Page 1 of 2 1 2