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

Search:

Type: Posts; User: Gregorina

Page 1 of 3 1 2 3

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    828

    files in a directory

    Hello,

    Thanks for taking the time to help. I'm trying to just list the files in a directory. I've looked at some examples I don't know why this isn't working.


    struct...
  2. Re: does memory need to be released for dynamic controls

    I don't know how many edit boxes/static texts/buttons i'll need until startup. At startup the application reads some values from an xml file and that tells me how many controls I need.
  3. Re: does memory need to be released for dynamic controls

    20
  4. Re: does memory need to be released for dynamic controls

    Great suggestion. Thanks. I created new member variables:



    private:
    CEdit* new_edit[MAX_CONTROLS];
    CStatic* new_static[MAX_CONTROLS];
    CButton* new_button[MAX_CONTROLS];
  5. does memory need to be released for dynamic controls

    I have an application that opens up another dialog. When that dialog is open, i do this:



    BOOL CChangeSettings::OnInitDialog()
    {
    ...
    ...
    for(unsigned int i=0; i<temp_map.size(); i++)
    {
  6. Replies
    8
    Views
    1,595

    Re: Edit message map at startup

    ON_COMMAND_RANGE works. Thanks everyone.
  7. Replies
    8
    Views
    1,595

    Edit message map at startup

    Hello,

    Thanks for taking the time to help. Is it possible to edit the message map at startup instead of just having it set at compile time?

    I'm reading some values from an XML file at startup....
  8. Replies
    7
    Views
    4,159

    Re: slow upload rate to vxworks server

    I just used filezilla to ftp the files to a pc. Man it's fast. So uploading the 17000 files in under an hour is definitely possible.
  9. Replies
    7
    Views
    4,159

    Re: slow upload rate to vxworks server

    Well ideally just once. This is a requirement that the transfer takes an hour or less. The lead said to try to do this just with the MFC application, and if it's not possible then we can start...
  10. Replies
    7
    Views
    4,159

    Re: slow upload rate to vxworks server

    I'm an entry level software engineer and my lead doesn't seem very interested in looking at other parts of the system to find this problem...it looks like I'm stuck working around the problem if...
  11. Replies
    7
    Views
    4,159

    Re: slow upload rate to vxworks server

    Reading through the cURL literature, there seems to be a way to FTP 2 or more files at once. Do you think this could speed things up?
  12. Replies
    7
    Views
    4,159

    slow upload rate to vxworks server

    Hello,

    Thanks for taking the time to help me out. I'm using cURL in an MFC application to FTP 17000 files that, in total, are just under 40GB to a vxworks server through a gigabit switch. This...
  13. Replies
    7
    Views
    1,977

    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...
  14. Replies
    7
    Views
    1,977

    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!!!
  15. Replies
    7
    Views
    1,977

    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...
  16. Replies
    7
    Views
    1,977

    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...
  17. Replies
    2
    Views
    1,741

    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...
  18. Replies
    2
    Views
    1,741

    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;
    ...
  19. Replies
    3
    Views
    2,188

    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?...
  20. Replies
    3
    Views
    2,188

    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...
  21. Replies
    2
    Views
    1,365

    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];
    ...
  22. Replies
    8
    Views
    2,946

    Re: Getting to the active document

    Yes that works. Thank you very much.
  23. 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...
  24. Replies
    8
    Views
    2,946

    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...
  25. Replies
    8
    Views
    2,946

    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...
Results 1 to 25 of 60
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured