Click here to Skip to main content
15,888,202 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to write/read the properties in window Pin
SergeyT227-May-04 2:24
SergeyT227-May-04 2:24 
GeneralRe: how to write/read the properties in window Pin
g112928-May-04 18:53
g112928-May-04 18:53 
GeneralRe: how to write/read the properties in window Pin
SergeyT231-May-04 23:10
SergeyT231-May-04 23:10 
GeneralMeasureItem is not called for menu Pin
Member 54677526-May-04 22:34
Member 54677526-May-04 22:34 
GeneralRe: MeasureItem is not called for menu Pin
Dave Kreskowiak27-May-04 4:01
mveDave Kreskowiak27-May-04 4:01 
GeneralRe: MeasureItem is not called for menu Pin
Member 54677527-May-04 4:08
Member 54677527-May-04 4:08 
GeneralRe: MeasureItem is not called for menu [EDITED] Pin
Dave Kreskowiak27-May-04 4:15
mveDave Kreskowiak27-May-04 4:15 
GeneralRe: MeasureItem is not called for menu [EDITED] Pin
Member 54677527-May-04 4:58
Member 54677527-May-04 4:58 
Hi Dave
I know how the check if menu item is top level.
But even if i set to all menuitem size ( in MeasureItem Method) hard coded values, in drawitem method i get value of the height as Windows Menu default height.

Here small example
public void MeasureItemMenuItem(object sender,
MeasureItemEventArgs e)
{ e.ItemWidth = 32;
e.ItemHeight = 32; // I set to hard coded value

}
public void DrawMenuItem(object sender, System.Windows.Forms.DrawItemEventArgs e)
{

Rectangle destRect = e.Bounds;
destRect.Height; // The value for top level items
// is allways set to windows default (18)
}



GeneralLDAP Authentication! Please Help Pin
rami2k26-May-04 22:13
rami2k26-May-04 22:13 
GeneralRe: LDAP Authentication! Please Help Pin
MrEyes27-May-04 0:34
MrEyes27-May-04 0:34 
GeneralRe: LDAP Authentication! Please Help Pin
rami2k27-May-04 5:03
rami2k27-May-04 5:03 
GeneralRe: LDAP Authentication! Please Help Pin
Dave Kreskowiak27-May-04 3:53
mveDave Kreskowiak27-May-04 3:53 
GeneralRe: LDAP Authentication! Please Help Pin
rami2k27-May-04 4:57
rami2k27-May-04 4:57 
GeneralRe: LDAP Authentication! Please Help Pin
Dave Kreskowiak27-May-04 5:21
mveDave Kreskowiak27-May-04 5:21 
GeneralRe: LDAP Authentication! Please Help Pin
Heath Stewart27-May-04 5:01
protectorHeath Stewart27-May-04 5:01 
GeneralRemoting Help! Please help urgently! Pin
hprahul26-May-04 22:07
hprahul26-May-04 22:07 
GeneralRe: Remoting Help! Please help urgently! Pin
Heath Stewart27-May-04 4:56
protectorHeath Stewart27-May-04 4:56 
GeneralRe: Remoting Help! Please help urgently! Pin
hprahul27-May-04 14:41
hprahul27-May-04 14:41 
GeneralRe: Remoting Help! Please help urgently! Pin
Aaron Eldreth27-May-04 15:50
Aaron Eldreth27-May-04 15:50 
GeneralRe: Remoting Help! Please help urgently! Pin
hprahul27-May-04 20:25
hprahul27-May-04 20:25 
GeneralRe: Remoting Help! Please help urgently! Pin
Heath Stewart30-May-04 5:59
protectorHeath Stewart30-May-04 5:59 
GeneralRe: Remoting Help! Please help urgently! Pin
hprahul30-May-04 13:57
hprahul30-May-04 13:57 
GeneralRe: Remoting Help! Please help urgently! Pin
Heath Stewart1-Jun-04 6:11
protectorHeath Stewart1-Jun-04 6:11 
QuestionHow to log files downloaded Pin
Stuggo26-May-04 21:56
Stuggo26-May-04 21:56 
AnswerRe: How to log files downloaded Pin
Dave Kreskowiak27-May-04 4:19
mveDave Kreskowiak27-May-04 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.