Click here to Skip to main content
16,005,826 members
Home / Discussions / C#
   

C#

 
AnswerRe: Invoking an html button in a WebBrowser control Pin
Martin235-Dec-05 6:48
Martin235-Dec-05 6:48 
QuestionDisk Space Pin
sebastianos5-Dec-05 2:42
sebastianos5-Dec-05 2:42 
AnswerRe: Disk Space Pin
Judah Gabriel Himango5-Dec-05 7:40
sponsorJudah Gabriel Himango5-Dec-05 7:40 
QuestionComputers and Printers Pin
sebastianos5-Dec-05 2:41
sebastianos5-Dec-05 2:41 
QuestionProblem Regarding Adding dll into Assembly Pin
A.Grover5-Dec-05 1:09
A.Grover5-Dec-05 1:09 
AnswerRe: Problem Regarding Adding dll into Assembly Pin
rakesh_nits5-Dec-05 2:27
rakesh_nits5-Dec-05 2:27 
GeneralRe: Problem Regarding Adding dll into Assembly Pin
A.Grover5-Dec-05 18:19
A.Grover5-Dec-05 18:19 
Questionhaving a long menu not taking all the screen height Pin
joebarthib5-Dec-05 0:43
joebarthib5-Dec-05 0:43 
Hi,

I display a lot of images in a context menu, using OwnerDraw=true and overring OnMeasureItem/OnDrawItem. The automatically displayed arrows are great, but the menu takes all the screen height! My boss want the menu to be shorter...

I tried to display only a few images, and added my own arrow items at the beginning and the end of them, but I can't make the menu scroll when I click/select the arrows!

- when clicking the arrows, the menu automatically closes
- when selecting them, I dynamically modify the images items, but I can't make the menu update!
I tried everything: Refresh/Update/Invalidate of the parent control, PerformSelect on all the images items, calling SendMessage with WM_PAINT, WM_PRINT, WM_PRINT_CLIENT with the menu handle, and the parent control handle, I've even tried to set to false then back to true all the images items OwnerDraw, they update more or less, but the false ownerdraw menu (brief) displaying is awful!

I didn't manage to find an answer to my problems on the web, so if someone have a clue it would be great to tell me! Either about how making my long menu not taking all the screen height, or forcing the menu to update when I dynamically modify it!

Thanks a lot
Thibaud
AnswerRe: having a long menu not taking all the screen height Pin
dnewmon5-Dec-05 7:34
dnewmon5-Dec-05 7:34 
GeneralRe: having a long menu not taking all the screen height Pin
joebarthib5-Dec-05 21:31
joebarthib5-Dec-05 21:31 
QuestionRichTextBox Problems Pin
alvinjv4-Dec-05 23:17
alvinjv4-Dec-05 23:17 
AnswerRe: RichTextBox Problems Pin
S. Senthil Kumar5-Dec-05 4:17
S. Senthil Kumar5-Dec-05 4:17 
Questionadding and retrieving pictures Pin
Mohammad Daba'an4-Dec-05 22:39
Mohammad Daba'an4-Dec-05 22:39 
QuestionThe unexplainable, a DllNotFoundException Pin
dxben4-Dec-05 22:33
dxben4-Dec-05 22:33 
AnswerRe: The unexplainable, a DllNotFoundException Pin
leppie5-Dec-05 7:20
leppie5-Dec-05 7:20 
GeneralRe: The unexplainable, a DllNotFoundException Pin
dxben5-Dec-05 9:16
dxben5-Dec-05 9:16 
Questionquestion about remoting Pin
savage_4-Dec-05 20:45
savage_4-Dec-05 20:45 
AnswerRe: question about remoting Pin
S. Senthil Kumar5-Dec-05 4:15
S. Senthil Kumar5-Dec-05 4:15 
QuestionProblem in EventHandling Pin
Satish324-Dec-05 19:58
Satish324-Dec-05 19:58 
AnswerRe: Problem in EventHandling Pin
S. Senthil Kumar5-Dec-05 4:11
S. Senthil Kumar5-Dec-05 4:11 
Questionbin and obj folder in C# windows application Pin
nbobby4-Dec-05 19:27
nbobby4-Dec-05 19:27 
AnswerRe: bin and obj folder in C# windows application Pin
Heath Stewart4-Dec-05 19:47
protectorHeath Stewart4-Dec-05 19:47 
GeneralRe: bin and obj folder in C# windows application Pin
nbobby4-Dec-05 20:11
nbobby4-Dec-05 20:11 
AnswerRe: bin and obj folder in C# windows application Pin
har04mich5-Dec-05 6:52
har04mich5-Dec-05 6:52 
Questionurgent Help on C# Pin
momoo4-Dec-05 19:24
momoo4-Dec-05 19:24 

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.