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

Search:

Type: Posts; User: sma

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    327

    Windows Socket Implementation

    I am developing a program which uses windows sockets to obtain data from a server using the Modbus protocol. The server provides information in groups called menus. Each menu is displayed via a...
  2. Replies
    3
    Views
    1,539

    Re: CMFCToolBarComboBox Problems

    Resolved, the OnCommandUI handler was holding the control disabled, as the data contained within the control list was being updated at other points in the app.
  3. Replies
    3
    Views
    1,539

    Re: CMFCToolBarComboBox Problems

    Both ReplaceButton calls return 1 indicating the replacement of the first item with the specified identifier.
  4. Replies
    3
    Views
    1,539

    [RESOLVED] CMFCToolBarComboBox Problems

    The attached image show the two ComboboxButtons I have on my app CMFCToolbartoolbar.


    The first combo box functions correctly but the second does not operate with the drop down list element only...
  5. Replies
    14
    Views
    1,194

    Re: Printing support from my application

    It is extremely difficult to create a complete RTF rendering engine as the syntax if these files have many variations.

    I have attached a copy of the 2002 specification so you can see how RTF is...
  6. Replies
    14
    Views
    1,194

    Re: Printing support from my application

    The code I have does not complete templates as such, it is a set of classes designed to provide the necassary representation of my application data which is either a series of tables or formatted...
  7. Replies
    14
    Views
    1,194

    Re: Printing support from my application

    You have several options depending on the application frame work you have used:

    RTF - quite simple to implement if you use RichEdit control as this will read and write RTF directly however the...
  8. Re: MFC Dialog Based - GUI modification with text file

    The attached files were never intended to replace those in your project. They were provided as an example that worked for you to check your code against.

    Place a break point in your code and...
  9. Replies
    2
    Views
    410

    Re: Help With Switch Loop

    You need to remove the semi colon from the while statement.

    while (running == true);

    The semi colon indicates the effective end of the while loop in this case.
  10. Replies
    7
    Views
    580

    Re: reading a line from text file

    Is this to do with your previous post regarding the setting of controls using a text file if it is the code I attached to my last response reads the file and retreives the required data just fine.
  11. Re: MFC Dialog Based - GUI modification with text file

    Have had a look at your code and created a small project to prove your code.

    I have atteched the dialog code for your reference it seems to work when I change the file (diasabled and enabled...
  12. Re: MFC Dialog Based - GUI modification with text file

    Can you step through the code buy inserting a break point in the function that process the text file and confirm it is reading the data properly from the file and selecting the correct control.
  13. Re: MFC Dialog Based - GUI modification with text file

    Do the controls update when the button pressed?

    The only way to cause the updating would be when the file edit is complete to send a message to the dialog. This message could be a user defined...
  14. Re: MFC Dialog Based - GUI modification with text file

    I have down loaded your code.

    Looking at the IODlg.CPP code there is a function to respond to the Description Select button - CIODlg::OnDescSelect() is this the area of concern?

    Have You...
  15. Re: MFC Dialog Based - GUI modification with text file

    The example provided shows methods you can use to achieve what you want.

    Haven't you developed the code to read the file you containing the data describing the controls?

    The live updting of the...
  16. Re: MFC Dialog Based - GUI modification with text file

    Attached is a very simple dialog based application that dynamically changes the text on some buttons.

    Click on each button and see what happens.

    The buttons are intially set in the Oninitdialog...
  17. Re: MFC Dialog Based - GUI modification with text file

    I will generate a very simple dialog based app in Visual Studio 6.0 and attach it to my next post.

    This may take a couple of hours as I am busy at this point in time.
  18. Re: MFC Dialog Based - GUI modification with text file

    From your attached code:

    You have a dialog based application.

    What you need to do is provide your own OnInitDialog function depending on which version and IDE you are using you should be able...
  19. Re: MFC Dialog Based - GUI modification with text file

    You do not need to change your RC file.

    Look for examples of changing button text or static text dynamically in code guru which may make you understanding a bit clearer.

    Can you paste a bit of...
  20. Re: MFC Dialog Based - GUI modification with text file

    From your file I have selected IDC_OUT_0 = IN Conveyor

    1. Read the value for this control from the file.

    2.Create a pointer of appropriate type and set using GetDlgItem(IDC_OUT_0)); IDC_OUT_0...
  21. Re: Application Window Resizing by itself

    Resolved:

    The problem was caused by the calling of the lines:

    GetParentFrame()->RecalcLayout(TRUE);
    ResizeParentToFit(TRUE);

    In the OnInitialUpdate() handler for the view I was switching...
  22. [RESOLVED] Application Window Resizing by itself

    I have a SDI application that is displaying a strange behaviour.

    I open a document and then close it by selecting the new file button from the tool bar.

    The app correctly closes the open...
  23. Re: MFC Dialog Based - GUI modification with text file

    I do not have an example however it is quite straight forward.

    The only thing you need to decide is how you are going to store the configuration.

    Once you have this you can then look ate the...
  24. Replies
    2
    Views
    429

    Re: Report Rendering

    Thanks for the feedback, it is the approach I have taken as the complexities between the generated reports resulted in an extremely complex piece of code.

    I have implement multiple view classes...
  25. Re: MFC Dialog Based - GUI modification with text file

    Yes you can by using the OnInitDialog method to read the data from your text file and then set the caption/text for each of the controls.

    If you need to do this once the dialog is visible then you...
Results 1 to 25 of 490
Page 1 of 20 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center