Search:
Type: Posts; User: robertzp
Search:
Search took 0.02 seconds.
-
March 22nd, 2019, 09:34 AM
My apologies to all.
I made a mistake in coding the message handler. The menu items are now being enabled / disabled programatically.
thanks for your time.
-
March 21st, 2019, 02:25 PM
The only way to call the handler INDIRECTLY is for the user to click on the menu item.
But as I have been trying to explain, that is what I am trying to prevent to begin with by disabling it...
-
March 21st, 2019, 09:31 AM
The whole point is for the program to be able to disable/enable a drop-down menu item directly without user intervention.
For which reason I was trying unsuccessfully to do this thru the CMenu ...
-
March 21st, 2019, 05:57 AM
I have been trying to do this
BEGIN_MESSAGE_MAP(….)
ON_UPDATE_COMMAND_UI(ID_MENUID, OnUpdateShowResults)
void CAppDoc::OnUpdateShowResults(CCmdUI* pCmdUI)
{
pCmdUI->Enable(FALSE);
-
March 20th, 2019, 10:39 PM
Hello,
I have an MDI application and having problems disabling or graying an item in the drop-down menu. I am using visual studio 2015
The drop-down menu is fourth from the left. Zero-based 3. ...
-
January 13th, 2019, 03:12 AM
Thank you VictorN and 2kaud for your advice.
-
January 11th, 2019, 03:35 PM
I have developed my application using Visual Studio 2015 with target platform version 8.1 on my Windows 7 desktop
Will the executable be able to run on Windows 10 systems?
Do I need to install...
-
July 16th, 2018, 01:36 AM
Arjay,
It was a little tricky to find the bookmark toolbar customization.
But I was able to find it in VS2015 by clicking on View - Toolbars and checking Text Editor!
Go figure! You can...
-
July 15th, 2018, 02:48 PM
Hi Arjay,
I does not seem to make any difference where the focus is. But normally, my focus is on the current cpp or h file I've bookmarked.
I have attached screen captures of the vs2008 and...
-
July 13th, 2018, 03:24 PM
In Visual Studio 2008, there is an option to move to the previous or next bookmark in the current document.
This was replaced in Visual Studio 2015 with move to the previous or next bookmark in...
-
November 17th, 2017, 03:52 PM
VictorN,
Disabling LBS_SORT works!
The only restriction is that you populate the listbox in sorted order!
My app now works like Windows Explorer!
Thanks very for the tip!
-
November 17th, 2017, 02:28 AM
VictorN,
I'll read up on CharToItem.
FYI, previous keyboard selection is deselected if LBS_EXTENDEDSEL is removed. But this style is so essential for my needs I can't remove it.
I also...
-
November 15th, 2017, 05:19 PM
VictorN,
See my response interspered in your questions.
What do you mean by "auto-select"?
By auto-select, I mean entering a letter key on the keyboard automatically selects the first...
-
November 15th, 2017, 01:10 AM
Hello,
I have a strange problem with auto-select using the keyboard in a multiple selection ListBox.
Normally, when entering a letter on the keyboard will select the first occurrence of the...
-
October 14th, 2017, 05:48 PM
Hello,
I solved the problem with the following code!
The code will display the pathname of the active document being displayed on the screen on the status bar!
Hope this helps others who...
-
October 13th, 2017, 01:29 AM
Hello,
I have an MDI application which shows all the opened documents under the Window Menu.
The user can switch the view from one document to another by just clicking on the document.
How...
-
AvDav,
The scrollbars are NOT manually created.
They are automatically created by Visual Studio if the formview is not scaled to fit.
-
Hello,
I created a formview with nested controls. My problem is setting the correct values for vertical scroll size so that I can scroll thru the complete range of the view. At the moment, my...
-
I also noticed that moving the maximized window is like clicking on the Restore Down button!
Thank you Victor and 2kaud.
-
Hello,
Tried to find an explanation for this behavior in the forum but could not find an answer.
The GetWindowPlacement and SetWindowPlacement code using the registry works fine.
The...
-
March 26th, 2017, 04:50 PM
Ovidiu Cucu
You are a genius!
Thank you for the tip. Solves a lot of screen formatting problems for me!
-
March 20th, 2017, 05:09 AM
The greyed out horizontal scroll bar on my listbox is because I did not set horizontal extent!
I think..
-
September 22nd, 2016, 01:33 AM
To Igor, Arjay,
It took me a week but I found the solution! I can now handle keyboard entries in an Extended Selection ListBox in FormView!
I found an excellent post from Sam Hobbs.
The...
-
September 17th, 2016, 11:24 PM
Hi John,
Are you saying that in FormView, I cannot enter a character from the keyboard to select the first occurrence of the string in a Listbox control in the dialog?
It seems to work but I...
-
September 15th, 2016, 11:05 PM
Arjay,
I have removed the call to OnKeyDown and the same problem occurs.
I myself thought that this will go to the default behavior of Extended selection but not so.
FYI, I did the OnKeyDown...
|
Click Here to Expand Forum to Full Width
|