Search:
Type: Posts; User: sma
Search:
Search took 0.13 seconds.
-
September 13th, 2015, 06:38 PM
Resolved,
I used the ON_UPDATE_COMMAND_UI_RANGE with a defined range of ID's, The application then uses a map of the menu ID's to enable the required processing to enable and disable the menu...
-
September 10th, 2015, 06:29 PM
I have created a DLL to provide an extension to my application which adds several menu items to the SDI application's main menu. Can someone provide some information on how to update these items. ...
-
Resolved this issue by Invalidating the toolbar after changing the control.
-
I have a CMFCToolbar containing a CMFCComboBoxButton which needs to be updated via a view. The view correctly updates the selection of the ComboBoxButton however the edit window is not updated until...
-
March 20th, 2014, 06:27 PM
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...
-
March 24th, 2011, 04:53 PM
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.
-
March 24th, 2011, 04:48 PM
Both ReplaceButton calls return 1 indicating the replacement of the first item with the specified identifier.
-
March 24th, 2011, 12:12 AM
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...
-
March 22nd, 2011, 03:54 AM
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...
-
March 21st, 2011, 04:51 PM
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...
-
March 21st, 2011, 03:48 AM
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...
-
March 8th, 2011, 05:10 AM
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...
-
March 8th, 2011, 04:10 AM
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.
-
March 8th, 2011, 03:55 AM
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.
-
March 7th, 2011, 07:17 PM
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...
-
March 7th, 2011, 05:03 AM
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.
-
March 7th, 2011, 04:39 AM
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...
-
March 7th, 2011, 04:10 AM
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...
-
March 7th, 2011, 03:19 AM
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...
-
March 6th, 2011, 10:50 PM
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...
-
March 6th, 2011, 10:32 PM
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.
-
March 6th, 2011, 10:05 PM
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...
-
March 6th, 2011, 09:18 PM
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...
-
March 3rd, 2011, 03:34 AM
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...
-
March 2nd, 2011, 10:44 PM
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...
|
Click Here to Expand Forum to Full Width
|