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

Search:

Type: Posts; User: Gregorina

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    230

    Re: menuitem separator

    Awesome that helps. To check for a separator I'm just checking the string caption for a blank string(""), and that seems to we working fine. Just wondering if there is a better way to check for a...
  2. Replies
    7
    Views
    230

    Re: menuitem separator

    Well if you are interested it does happen also in the demo project in the article I posted in the OP. Again, thanks for the help!!!
  3. Replies
    7
    Views
    230

    Re: menuitem separator

    With the OwnerDraw menu, separator's act as selections as seen in the screenshot. And in the application I'm working on the user won't be able to use a mouse, so one extra key press to select an...
  4. Replies
    7
    Views
    230

    menuitem separator

    I'm using this tutorial for making an owner draw menu.

    http://www.codeguru.com/cpp/controls/menu/article.php/c3721/Create-an-Owner-Draw-Menu--Step-by-Step.htm

    When I go into the .rc file and...
  5. Replies
    2
    Views
    215

    Re: change menu bar font size

    Ok, Thanks. I downloaded the demo project that I linked to in the OP and I'm just playing around with it to change the menu bar font. How would I change the menu bar font size in this demo...
  6. Replies
    2
    Views
    215

    change menu bar font size

    Can you change the menu bar font size in CMainFrame::OnCreate()? Here's what I have:




    int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
    {

    CRect rect;
    ...
  7. Re: how do i set the focus after an alt+tab?

    Yes... I'm sure there are lots of things wrong with the code as its been passed around for a couple years. To use the Wm-activate message would i just set the focus in the setactivewindow() function?...
  8. how do i set the focus after an alt+tab?

    Using mfc I have an application where I'm not allowed to use a mouse and alt+tab will be regularly used. Using alt+tab to come back to my application kills the focus in the view. Once my application...
  9. Replies
    2
    Views
    329

    Computer has 2 ip address

    Hello,

    Thank you for taking the time to help me out. I'm using the following routine to find the ipaddress of the computer the application is being run on:



    do
    {
    char ac[80];
    ...
  10. Replies
    8
    Views
    596

    Re: Getting to the active document

    Yes that works. Thank you very much.
  11. How do I know I have the full packet from a UDP message?

    This is my first time working with a network!!!! I'm super excited and thank you for taking time to help me out. I thought you could use the recv function to look at parts of a udp message. I have...
  12. Replies
    8
    Views
    596

    Re: Getting to the active document

    In the constructor?

    What about CFrameWnd::ActivateFrame? When I get the activedocument here the pointer is valid, and it's done automatically...seems good. But I feel like this function may be...
  13. Replies
    8
    Views
    596

    Re: Getting to the active document

    I can access the document no problem. If the user selects an option, once it's created, I can access it. But I need to have a thread accessing it as soon as it is created. I need to run this thread...
  14. Replies
    8
    Views
    596

    Getting to the active document

    I have a class with base class CFrameWnd. I need to have access to the activedocument as soon as the dialog box starts without any user input. I've tried accessing it from oncreate functions but...
  15. Replies
    5
    Views
    494

    display message at bottom of dialog box

    Hi,

    Is it possible to display a message at the bottom of a dialog box shown in the attachment? If so, how? Thank you very much for the help.
  16. Replies
    2
    Views
    339

    Re: pass parameter in oninitdialog

    Wow that was easy. Thank you. Don't know why I didn't think of that.
  17. Replies
    2
    Views
    339

    pass parameter in oninitdialog

    Hello,

    Thank you very much for taking time from you busy day to help me out. I very much appreciate it. I need to pass a variable to a dialog box.


    Doc* pDoc;
    Dialog dlg;
    int input =...
  18. Replies
    2
    Views
    272

    Re: pointing to CButtons in the constructor

    Thank you very much.
  19. Replies
    2
    Views
    272

    pointing to CButtons in the constructor

    I have 22 CButtons and I'm trying to set each one to the corresponding position in a CButton array of size 22 in the constructor.


    *buttons[0] = m_button1;

    This code gives me an error in the...
  20. what is the best way to read an array of chars

    Hello,

    Thank you for taking time from your busy day to help me out.

    I am receiving a max of 50000 bytes from a socket.

    char packet1[50000];
    recv(Socket, (char*)&packet1, 50000, 0);

    What...
  21. Thread: fopen

    by Gregorina
    Replies
    2
    Views
    301

    Re: fopen

    Thank you very much. I am now reading up on stream classes. I hope you have a great day.
  22. Thread: fopen

    by Gregorina
    Replies
    2
    Views
    301

    fopen

    Hello,

    Thank you very much for taking time from your busy schedule to help me out. I'm using the following code:



    FILE* file;
    file = fopen("logg.txt", "rb");
    int DemonicRainbowUnicorn =...
  23. Re: invalidate()/updatewindow() debug vs. release

    It gets corrupted on the Status status; line.




    Status status;
    if(condition)
    {
    status.repaintstatus();
    }
  24. Re: invalidate()/updatewindow() debug vs. release

    I'm calling it inside the status dialog class, but the dialog may not necessarily be created yet from the parent dialog. Actually I added a flag to set after the status dialog box is created:

    ...
  25. Re: invalidate()/updatewindow() debug vs. release

    Yes there was no window for the Status CDialog. I am using IsWindow(GetSafeHwnd()) as Drmmr suggested, but even though the Status dialog has a window, IsWindow(GetSafeHwnd()) still returns 0 and the...
Results 1 to 25 of 48
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center