Commit Graph
36 Commits
Author SHA1 Message Date
Peter Dennis Bartok ac9ff05072 2005-09-20 Peter Dennis Bartok <[email protected]>
* MenuAPI.cs: Remove filtering of events to allow menu usage


svn path=/trunk/mcs/; revision=50343
2005-09-20 23:20:56 +00:00
Peter Dennis Bartok 0b4e77980a 2005-09-19 Peter Dennis Bartok <[email protected]>
* MenuAPI.cs: Replaced Application.Run() with a loop that tracks
	  PostQuitMessage state.
	* XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg


svn path=/trunk/mcs/; revision=50272
2005-09-20 03:19:34 +00:00
Jordi Mas i Hernandez 587cf9eeba 2005-08-18 Jordi Mas i Hernandez <[email protected]>
* MenuAPI.cs: fixes bug 75716


svn path=/trunk/mcs/; revision=48494
2005-08-18 12:11:39 +00:00
Jordi Mas i Hernandez 5e7f0df6fb 2005-08-07 Jordi Mas i Hernandez <[email protected]>
* Menu.cs: fixes bug 75700
	* MenuAPI.cs: fixes navigation issues


svn path=/trunk/mcs/; revision=48166
2005-08-09 13:57:16 +00:00
Jordi Mas i Hernandez c8a9a80bfb * Combobox:
- Adjust control's height for non-simple comboboxes (bug fix)
		- Remove dead code
	* MenuAPI.cs: remove unused var
	* ScrollBar.cs: remove unsed var
		 
	* ListBox.cs: unselect items when clearing

2005-04-28  Jordi Mas i Hernandez <[email protected]>


svn path=/trunk/mcs/; revision=43727
2005-04-28 15:28:32 +00:00
Jackson Harper cf1296f0be * Control.cs: Double buffering is handled differently now. As per
the spec, the extra buffer is created in the WM_PAINT message and
	passed down to the control's drawing code.
	* GroupBox.cs:
	* Label.cs:
	* CheckBox.cs:
	* ProgressBar.cs:
	* RadioButton.cs:
	* ColorDialog.cs:
	* ComboBox.cs:
	* PropertyGridView.cs:
	* UpDownBase.cs:
	* MessageBox.cs:
	* MenuAPI.cs:
	* ListView.cs:
	* ButtonBase.cs:
	* SizeGrip.cs:
	* ScrollBar.cs:
	* ListBox.cs:
	* TrackBar.cs:
	* ToolBar.cs:
	* PictureBox.cs:
	* DateTimePicker.cs:
	* StatusBar.cs:
	* TreeView.cs: Update to new double buffering system.
	* MonthCalendar.cs: Uncomment block, as Capture is now
	working. Update to new double buffering
	* LinkLabel.cs: Lazy init the link collection. Update to new double buffering
	* PaintEventArgs.cs: New internal method allows us to set the
	graphics object. This is used for double buffering.
	* ThemeWin32Classic.cs: Give the picture box drawing code a clip
	rectangle. The internal paint_area var has been removed from
	StatusBar. The clipping rect should be used instead.
	* Theme.cs: Give the PictureBox drawing method a clipping rect.
	* TabPage.cs: The RefreshTabs method was removed, so just call the
	tab controls Refresh method now.
	* TabControl.cs: Update to new double buffering. Make sure the
	handle is created before sizing the tab pages, otherwise we will
	get stuck in a loop.


svn path=/trunk/mcs/; revision=43557
2005-04-25 18:33:05 +00:00
Peter Dennis Bartok d305ee9a95 2005-03-18 Peter Bartok <[email protected]>
* MenuAPI.cs: Remove menu *before* executing selected action to
	  prevent the menu from 'hanging around'
	  

svn path=/trunk/mcs/; revision=41997
2005-03-18 16:45:31 +00:00
Peter Dennis Bartok 5b11eb4c40 * XplatUIX11.cs: Fixed menu coord calculations
* MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
	  for calculating offsets

2005-03-17  Peter Bartok  <[email protected]>


svn path=/trunk/mcs/; revision=41970
2005-03-18 00:40:21 +00:00
Jordi Mas i Hernandez e79030b7c0 2005-03-11 Jordi Mas i Hernandez <[email protected]>
* Form.cs: fixes menu drawing on X11
	* MenuAPI.cs:  fixes menu drawing on X11


svn path=/trunk/mcs/; revision=41723
2005-03-11 21:20:14 +00:00
Jordi Mas i Hernandez f6d16ef1ab 2005-02-25 Jordi Mas i Hernandez <[email protected]>
* MenuAPI.cs: Respect disabled items
	* ThemeWin32Classic.cs
		- Caches ImageAttributes creation for DrawImageDisabled
		- Fixes vertical menu line drawing
		- Draws disabled arrows in disable menu items


svn path=/trunk/mcs/; revision=41199
2005-02-25 14:24:34 +00:00
Jordi Mas i Hernandez 4237d5e68a 2005-02-19 Jordi Mas i Hernandez <[email protected]>
* Form.cs: Move menu drawing code to Theme class
	* ComboBox.cs: Move ComboBox drawing code to Theme class
	* MenuItem.cs: Move menu drawing code to Theme class
	* MenuAPI.cs: Move menu drawing code to Theme class
	* ThemeWin32Classic.cs: New methods 
	* CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
	* ListBox.cs: Move Listbox drawing code to Theme class
	* Theme.cs: New methods


svn path=/trunk/mcs/; revision=40974
2005-02-21 09:36:18 +00:00
Jordi Mas i Hernandez 6167baab0a 2005-02-19 Jordi Mas i Hernandez <[email protected]>
* Form.cs: Menu integration with non-client area
	* MenuItem.cs: Menu integration with non-client area
	* MenuAPI.cs: Menu integration with non-client area


svn path=/trunk/mcs/; revision=40914
2005-02-19 21:33:54 +00:00
Jordi Mas i Hernandez 4546c964ce 2005-02-16 Jordi Mas i Hernandez <[email protected]>
* Form.cs: first Menu NC refactoring
	* MenuAPI.cs: first Menu NC refactoring
	

svn path=/trunk/mcs/; revision=40766
2005-02-16 19:08:26 +00:00
Jordi Mas i Hernandez e16828dd9a 2005-02-10 Jordi Mas i Hernandez <[email protected]>
* MenuItem.cs: Use SystemInformation and bug fixes	
	* MenuAPI.cs: Use SystemInformation and bug fixes


svn path=/trunk/mcs/; revision=40375
2005-02-10 08:32:03 +00:00
Jordi Mas i Hernandez b4a904dc6c * MenuItem.cs:
* MenuAPI.cs:
		- Owner draw support (MeasureItem and DrawItem)

2005-02-04  Jordi Mas i Hernandez <[email protected]>
	

svn path=/trunk/mcs/; revision=40157
2005-02-04 22:01:14 +00:00
Peter Dennis Bartok c69e15d7c6 - Implemented SystemInformation class
- Fixed menu visibility on Win32
- Preventing Popup menus from popping up partially offscreen

svn path=/trunk/mcs/; revision=39769
2005-01-30 01:06:00 +00:00
Jordi Mas i Hernandez 691e04b27b menu fixes: tracking, bug 71495, etc
svn path=/trunk/mcs/; revision=39582
2005-01-26 14:20:24 +00:00
Peter Dennis Bartok 7acc92699c - Added new keyword where required
- Removed unused vars
- Added required overrides for TextControl
- Finished Text property implementation for Text control
- Finished Selection implementation for Text Control

svn path=/trunk/mcs/; revision=38303
2005-01-04 07:16:45 +00:00
Jordi Mas i Hernandez ace52ead67 remove unused vars
svn path=/trunk/mcs/; revision=38302
2005-01-04 05:51:41 +00:00
Jordi Mas i Hernandez 1406205e82 fixes menu destruction and recreating menus with changed items
svn path=/trunk/mcs/; revision=36626
2004-11-26 11:28:52 +00:00
Jordi Mas i Hernandez 61471b144d tracker should be for tracking session
svn path=/trunk/mcs/; revision=36052
2004-11-12 11:04:39 +00:00
Jordi Mas i Hernandez 8f7dce2010 fixes dispose of non-used resouces
svn path=/trunk/mcs/; revision=35970
2004-11-10 12:06:56 +00:00
Jordi Mas i Hernandez 2b9908512f fixes menu navigation, fixes popups, etc
svn path=/trunk/mcs/; revision=35895
2004-11-09 15:47:20 +00:00
Peter Dennis Bartok a353edce48 - Added Clipping of children and siblings
svn path=/trunk/mcs/; revision=35845
2004-11-08 20:44:00 +00:00
Jordi Mas i Hernandez 7f63ddfb20 collection completion, drawing issues, missing features
svn path=/trunk/mcs/; revision=35644
2004-11-04 14:47:58 +00:00
Jordi Mas i Hernandez 9e0e159392 Menu key navigation, itemcollection completion, menu fixes
svn path=/trunk/mcs/; revision=35464
2004-10-29 15:55:26 +00:00
Jordi Mas i Hernandez 3c56044180 speedup menus drawing
svn path=/trunk/mcs/; revision=35263
2004-10-22 19:31:46 +00:00
Jordi Mas i Hernandez 6715f99d72 MenuBarCalcSize returns the height
svn path=/trunk/mcs/; revision=35148
2004-10-19 22:15:12 +00:00
Jordi Mas i Hernandez e636b1b393 menuitems in menubars do not have shortcuts
svn path=/trunk/mcs/; revision=35084
2004-10-18 15:31:32 +00:00
Jordi Mas i Hernandez 9768e2af8a prevents windows from showing in the taskbar
svn path=/trunk/mcs/; revision=35082
2004-10-18 14:56:14 +00:00
Jordi Mas i Hernandez c2b0904bc5 menu drawing fixes
svn path=/trunk/mcs/; revision=35064
2004-10-17 19:39:18 +00:00
Jordi Mas i Hernandez 5caf0bde3f fix for X11
svn path=/trunk/mcs/; revision=35028
2004-10-15 13:34:46 +00:00
Jordi Mas i Hernandez 494d6d4e80 menu work, mainmenu, subitems, etc
svn path=/trunk/mcs/; revision=35024
2004-10-15 12:43:19 +00:00
Jordi Mas i Hernandez 9f0c2e91a8 more menu work
svn path=/trunk/mcs/; revision=34799
2004-10-08 08:50:29 +00:00
Jackson Harper e67bdc2854 Let the base Control handle the buffers, derived classes should not have to CreateBuffers themselves.
svn path=/trunk/mcs/; revision=34704
2004-10-05 04:56:12 +00:00
Jordi Mas i Hernandez bbde67052b Very early menu support
svn path=/trunk/mcs/; revision=34003
2004-09-17 12:19:16 +00:00