Search:

Type: Posts; User: Unimatrix_001

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. CStringArray...also: vector linecnt;

    CStringArray...also:

    vector <int> linecnt;
  2. A runtime library error on this line???

    Hi,

    I've got the following code:



    CString input;
    bool found = false;

    fstream myfile;
  3. Replies
    2
    Views
    4,109

    ..and so it is! Cheers mate! :D

    ..and so it is! Cheers mate! :D
  4. Replies
    2
    Views
    4,109

    Code completion in Visual Studio C++?

    Hi,

    For some reason in a project I am working in code completion isn't working fully. I only get the methods, variables etc.. that I have created and not the complete list of all the ones...
  5. Replies
    5
    Views
    1,581

    Well after a bit of research and some work...I'm...

    Well after a bit of research and some work...I'm now subclassing the window and am using (sorry in advance for the bad formatting...):




    LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg,...
  6. Replies
    5
    Views
    1,581

    Hmm....what would I need to put to keep my text...

    Hmm....what would I need to put to keep my text there then? I've tried it returning FALSE to make sure that the window doesn't deactivate (i.e. when my text disappears) but it just ain't working :(
    ...
  7. Replies
    5
    Views
    1,581

    Something to do with painting???

    Hi there,

    I've got the following:




    if(pMsgDet->message==WM_NCPAINT){

    //the code from http://support.microsoft.com:80/support/kb/articles/q99/0/46.asp&NoWebContent=1 WM_NCPAINT part...
  8. Replies
    3
    Views
    1,190

    Thanks for that Ken!.... Although I'm...

    Thanks for that Ken!....

    Although I'm struggling with just finding where to actually paint the button? I don't want to draw over the 3 buttons that are already on the screen, so is there some way...
  9. Replies
    3
    Views
    1,190

    Adding a button to a title bar???

    As the subject suggests,

    How can I go about adding my own button next to the minimize, resize buttons at the top of a window. This is in an application that I do not own.

    Anybody for a try?...
  10. Replies
    2
    Views
    999

    Figured it out...the data is not even there to...

    Figured it out...the data is not even there to collect as the column itself is destroyed.

    Thanks anyways
  11. Replies
    2
    Views
    999

    CListCtrl??? (this one is HARD!)

    Hi, I'm using:



    LVITEM lvi;
    memset(&lvi, 0, sizeof(LVITEM));
    lvi.mask=LVIF_TEXT;
    lvi.iSubItem=5;
    lvi.pszText=buff;
    lvi.cchTextMax=19;
  12. Replies
    3
    Views
    1,365

    Well...that's the trouble :rolleyes:. This is to...

    Well...that's the trouble :rolleyes:. This is to put in with a custom button, which can have a resource of the bitmap or a handle to a file. Since I don't have a resource I'm doing it like this. But...
  13. Replies
    3
    Views
    1,365

    Is this code correct?

    Hi,

    I'm wanting to get a handle to a bitmap (not in a resource!) and I'm using:


    HBITMAP ButtonPic;
    ...
  14. Thanks guys! I'll remember that advice! :)

    Thanks guys! I'll remember that advice! :)
  15. A really stupid error about something defined???

    Hi all!

    I've got the following:




    #define BC 60001;
    ....
    wmID=LOWORD(pMsgDet->wParam);
  16. Replies
    3
    Views
    2,843

    Woaw!!!! You people seriously move quick :eek: ...

    Woaw!!!! You people seriously move quick :eek:

    Thanks Fordy. Explaination was a treat :)

    poccil - I just couldn't get my head around it, although after Fordys explaination and yours, it seems...
  17. Replies
    3
    Views
    2,843

    GetWindowThreadProcessId

    Can anybody help me with this please:

    GetWindowThreadProcessId


    The format is as follows:
  18. Thread: Update

    by Unimatrix_001
    Replies
    1
    Views
    1,261

    hrm....this was meant to be a reply in my...

    hrm....this was meant to be a reply in my previous post...:rolleyes: ...so sorry for that!
  19. Thread: Update

    by Unimatrix_001
    Replies
    1
    Views
    1,261

    Update

    Things still aren't working so well...

    but I've assigned the button a command ID as you said, and I got the daft error about the bracket thing...

    SO

    I swapped the ID...whatever with just a...
  20. Replies
    11
    Views
    2,344

    Right...these are the messages: ...

    Right...these are the messages:


    <00001> 002F0420 S ....TB_ADDSTRING hinst:00000000 idString:24704
    <00002> 002F0420 R ....TB_ADDSTRING nIndex:47
    <00003> 002F0420 S ....TB_SETBUTTONSIZE...
  21. Replies
    11
    Views
    2,344

    "Did you #define the ID for the button and set...

    "Did you #define the ID for the button and set it? (that should be 'undeclared identifier' error)"

    Sorry but I'm not following you there...


    "Have you tried using InsertButton to put the...
  22. Replies
    11
    Views
    2,344

    View Post

    <yoink>
  23. Replies
    11
    Views
    2,344

    I'm getting a stupid error about the format of...

    I'm getting a stupid error about the format of GetDlgItem...

    handle=GetDlgItem (TBHandle,BTNCMD);

    that's what I've got but I'm getting:

    syntax error : missing ')' before ';'
    syntax error :...
  24. Replies
    11
    Views
    2,344

    I'm afraid nothing there has made a difference...

    I'm afraid nothing there has made a difference :(, including the size.


    "How are you intercepting the toolbar msg's for your buttons (as opposed to other msg's for the toolbar) ?

    I'm not...
  25. Replies
    11
    Views
    2,344

    Sorry, I can't figure out what you're trying to...

    Sorry, I can't figure out what you're trying to say...I thought I needed a pointer to a TBBUTTON array when calling TB_ADDBUTTONS?


    "If the toolbar was created using the CreateWindowEx...
Results 1 to 25 of 44
Page 1 of 2 1 2