Search:

Type: Posts; User: tyouk

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: tab control

    by tyouk
    Replies
    6
    Views
    6,548

    tab control

    I create a tab control:



    // create the tab control
    GetClientRect(hwnd, &rect);
    hTC_Wnd = CreateWindowEx(0, WC_TABCONTROL, NULL,
    WS_VISIBLE | WS_TABSTOP | WS_BORDER | TCS_HOTTRACK, ...
  2. I looked over the code. I decided to rewrite the...

    I looked over the code. I decided to rewrite the program because of the problems I have been having. I am going to implement each control, one at a time. Testing each out thouroughly to make sure...
  3. Replies
    3
    Views
    972

    You could always just include the .rc and .h...

    You could always just include the .rc and .h files for the resources created in one project to another. Unless your meaning a more of "stealing" method from one program to another?

    Tyouk
  4. I am definitely getting messages through the...

    I am definitely getting messages through the edit's callback. I have it setup to catch three specific inputs. VK_RETURN, VK_TAB and VK_BACK. Each displaying a message such as "Enter key was...
  5. I tried all your suggestions. However, none have...

    I tried all your suggestions. However, none have worked so far. I really can't figure this one out. I made sure that all resource IDs (childs of the main window) are all not using the same resource...
  6. I looked over your example and compared it to my...

    I looked over your example and compared it to my own code. I find that I have everything except that I could not place the code in my main windows procedure for the WM_SETFOCUS message as is in your...
  7. Subclassed edit not doing what it's supposed to

    I have subclassed and edit box. Here is the code:



    // get ready for user input
    err = ListView_GetSubItemRect(expHwnds.hLV_Wnd, 0, 0, LVIR_LABEL, &rect);
    if( err == 0 )
    {
    sprintf(error,...
  8. Thread: ListView problem

    by tyouk
    Replies
    2
    Views
    2,631

    Yes I have created the ListView using the...

    Yes I have created the ListView using the LVS_EDITLABELS style, however, that style hinders your access to actually edit the information in the ListView. You can only edit the first item, and I want...
  9. Thread: ListView problem

    by tyouk
    Replies
    2
    Views
    2,631

    ListView problem

    Okay when I call the ListView_GetSubItemRect() it returns the co-ordinates, however, my co-ords are not correct. Using the RECT that is filled by the ListView_GetSubItemRect() call I am creating an...
  10. Replies
    2
    Views
    1,037

    Wow, can't believe I overlooked that! Thanks for...

    Wow, can't believe I overlooked that! Thanks for showing me my idiocy, definitely isn't the first time this has happened! haha.
  11. Replies
    2
    Views
    1,037

    Odd results for such a simple procedure.

    Can someone tell me why the following code is creating a new window just for my editbox?

    expHwnds.hEdit = CreateWindow("EDIT", "MM/DD/YYYY", WS_BORDER | WS_VISIBLE | ES_MULTILINE | ES_WANTRETURN,...
  12. Replies
    10
    Views
    1,439

    I use a program for my job that is made up of...

    I use a program for my job that is made up of four separate sections. Separating the four sections is a bar that the mouse allows you to resize the four different sections (either horizontally or...
  13. Replies
    4
    Views
    4,766

    Ya I figured out how to get the values. Thanks...

    Ya I figured out how to get the values. Thanks though. What I ended up having to do was create the control in the WM_CREATE and then when a WM_SIZE message was rec'd use the MoveWindow() function to...
  14. Replies
    3
    Views
    1,686

    Thanks, fixed my problems.

    Thanks, fixed my problems.
  15. Replies
    3
    Views
    1,686

    Okay I somewhat figured this out by digging...

    Okay I somewhat figured this out by digging deeper into the MSDN archives there. Now the code is as follows (so far):



    case WM_NOTIFY:
    if( sizeof(*(lParam)) == sizeof(NMMOUSE) )
    {...
  16. Replies
    3
    Views
    1,686

    Tab Control issue

    Is there a special message that I am not aware of being sent to my main window procedure that indicates a tab on a tab control being clicked on? (One of the tabs?) I've tried WM_LBUTTONUP messages,...
  17. Replies
    4
    Views
    4,766

    Hmmm... I have no idea how to check the...

    Hmmm... I have no idea how to check the (CREATESTRUCT)lParam. I've tried many things such as:

    CREATESTRUCT create = (CREATESTRUCT)lParam; // then trying to access it... get an error

    I've tried...
  18. Replies
    4
    Views
    4,766

    GetClientRect Issue

    When I call GetClientRect() it's not even returning half the size that my client's area fills. Why is this? My screen resolution is set to 1600x1200 and I am creating my window with WS_MAXIMIZED...
  19. Replies
    2
    Views
    1,285

    Thanks

    Thanks
  20. Replies
    2
    Views
    1,285

    ListView Sorting Problem

    What I need is a way to sort a listview based on dates. My first column is dates. What I need is the most current date at the top and so 01/01/2005 (MM/DD/YYYY) would be at the bottom.

    Is there...
  21. Thread: Dialog Tray

    by tyouk
    Replies
    11
    Views
    1,480

    Please correct me if I am wrong, but your problem...

    Please correct me if I am wrong, but your problem might lie in the NotifySysIcon() function. When your calling the LoadIcon() you are using the MAKEINTRESOURCE() macro with an int. I've always done...
  22. Replies
    3
    Views
    1,180

    Sorry, I can't. I've never bothered to learn C++...

    Sorry, I can't. I've never bothered to learn C++ yet. Waiting till I master C before I move on.

    Tyouk
  23. Thread: msdn

    by tyouk
    Replies
    2
    Views
    971

    I used to have a copy of a local MSDN library, it...

    I used to have a copy of a local MSDN library, it was very nice to have when I had it installed. Anyone know where I could download a copy?
  24. Replies
    3
    Views
    1,180

    I haven't tried it before, but it might be...

    I haven't tried it before, but it might be possible that EndDialog() is being passed the HWND to your main window? I could be wrong but it might be able to destroy normal window. Correct me please if...
  25. Replies
    3
    Views
    1,127

    Okay never mind. Me just being stupid... ...

    Okay never mind. Me just being stupid...

    g_szExp was initialized as: char g_szExp = "Expense Module";

    anyone see my error? lol

    Thanks though.
Results 1 to 25 of 133
Page 1 of 6 1 2 3 4