dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: lucastonon

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    1,189

    Re: Loading a part of a program

    Thanks
  2. Replies
    3
    Views
    1,189

    Loading a part of a program

    I wonder if I could first just load a part of a program then when clicking on another tab it would load everything about that tab.

    Thanks. If I wasn't clear let me know
  3. Replies
    7
    Views
    2,020

    Re: Centering control after window resize

    case WM_SIZE:
    ResizeControls(hDlg, rMsn);
    GetClientRect(hDlg, &rMsn);
    *
    break;


    At * I tried
    RedrawWindow(hDlg, NULL, NULL, RDW_ALLCHILDREN|RDW_UPDATENOW);...
  4. Replies
    7
    Views
    2,020

    Re: Centering control after window resize

    Fixed with


    int new_control_top = ((ptControlTopLeft.y) + (rectClient.bottom-rc.bottom)/2);
    int new_control_left = ((ptControlTopLeft.x) + (rectClient.right-rc.right)/2);


    But after...
  5. Replies
    7
    Views
    2,020

    Re: Centering control after window resize

    I'm sorry for the misunderstanding. I'll show some pictures to make it clear.

    So as in the left.jpg we can see, if I resize it pulling to the left, the control's .left position will still be the...
  6. Replies
    7
    Views
    2,020

    Re: Centering control after window resize

    It's hard to explain my problem :S Could you give me an example to keep the controls at the center of the dialog after the dialog is resized? It's not really like centering it, it's like moving it...
  7. Replies
    7
    Views
    2,020

    Centering control after window resize

    Hello, I've got a code that can move controls to left, right, top or bottom or resize it if chosen; but I can't figure out how to keep the control at the center after resizing the main window.
    ...
  8. Replies
    4
    Views
    915

    Re: TreeView and Dialog Window

    Cool. Thank you.
  9. Replies
    4
    Views
    915

    Re: TreeView and Dialog Window

    It worked thanks. But I don't get why it worked... It would still be after the window creation the command to set the focus but why just at the message handler of the user defined message that it...
  10. Replies
    4
    Views
    915

    TreeView and Dialog Window

    So there is a list in a treeview, when I double click one item it creates a dialog window, it restore the window if it's minimized and show it if its not visible but I can't get it to be the focused...
  11. Replies
    4
    Views
    6,103

    Re: How to get a control position?

    Thank you, and I realized that it was my mistake, it was a function which the first movement would overwrite the position.
  12. Replies
    4
    Views
    6,103

    Re: How to get a control position?

    I already tried that, this code makes the first movement right, but the last one that's supposed to take it back to the initial spot takes it to the top left corner of the dialog.


    RECT rc,...
  13. Replies
    4
    Views
    6,103

    How to get a control position?

    So I want to move a control from a dialog box to some position and then move it back to it's initial position but, how do I get it's initial position? I tried ScreenToClient, MapWindowPoints, etc...
  14. Replies
    3
    Views
    612

    Re: Option from for loop

    Got it. Thanks.
  15. Replies
    3
    Views
    612

    Option from for loop

    I'm righting a instant messenger and it stores every contact in a class array so we have something like this




    class Contacts
    {
    public:
    string email;
    string nickname;
  16. Replies
    4
    Views
    845

    Re: Reading a tree from another process

    It can expand the group like at windows explorer where the main folder would be a channel and the subfolders the players
  17. Replies
    4
    Views
    845

    Re: Reading a tree from another process

    That's a teamspeak2 or ts2
  18. Replies
    4
    Views
    845

    Reading a tree from another process

    I want to write a program to kick everyone who is flagged as away, muted, etc from teamspeak 2.

    How can I read every logged player from that tree control of ts2 and get their flags?

    Thanks.

    ...
  19. Replies
    2
    Views
    629

    Re: Connection Performance

    Thanks.
  20. Replies
    2
    Views
    629

    Connection Performance

    I wonder if I handle a socket in a dll, is it going to be slower than if I handle it at the application itself? Thanks.
  21. Replies
    2
    Views
    1,572

    Re: setsocketopt

    Thank you.
  22. Replies
    2
    Views
    1,525

    Re: WSAasyncSelect equivalent for linux

    I'll look after that thank you!
  23. Replies
    2
    Views
    1,525

    WSAasyncSelect equivalent for linux

    Whats the WSAAsyncSelect equivalent for linux so I can handle fd_accept, fd_read, etc messages?

    Thanks.
  24. Replies
    2
    Views
    1,572

    setsocketopt

    I wanted to add multiple options with setsocketopt but if would it overwrite the previous option if I do something like this?


    setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &btr, sizeof(btr));...
  25. Replies
    2
    Views
    426

    Reading a character

    I'd like to read a string of characters from a char until a whitespace if found continuously. scanf() works but not "continuously".



    char a[30], b[30];

    strcpy(a, "xxx yyy ");
    ...
Results 1 to 25 of 67
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)