Click here to Skip to main content
15,907,910 members
Home / Discussions / C#
   

C#

 
Questionhow to add MenuItem to Outlooks context menu Pin
Stephan Wright3-Aug-04 0:54
Stephan Wright3-Aug-04 0:54 
AnswerRe: how to add MenuItem to Outlooks context menu Pin
Luigi Casana3-Aug-04 20:57
sussLuigi Casana3-Aug-04 20:57 
GeneralLinkLabel (c#) Pin
samithas3-Aug-04 0:47
samithas3-Aug-04 0:47 
GeneralRe: LinkLabel (c#) Pin
samithas3-Aug-04 1:19
samithas3-Aug-04 1:19 
GeneralRe: LinkLabel (c#) Pin
Dave Kreskowiak3-Aug-04 6:07
mveDave Kreskowiak3-Aug-04 6:07 
GeneralRe: LinkLabel (c#) Pin
Dave Kreskowiak3-Aug-04 6:07
mveDave Kreskowiak3-Aug-04 6:07 
GeneralRe: LinkLabel (c#) Pin
Dave Kreskowiak3-Aug-04 6:16
mveDave Kreskowiak3-Aug-04 6:16 
QuestionOwner draw TreeView? Pin
misterbear3-Aug-04 0:24
misterbear3-Aug-04 0:24 
I use an ordinary tree view inside a dialog, but I wish to write a text saying "No data available"
if the treeview (which is filled with items loaded from files) is empty.

Instead of just adding a node saying "No Data Available", which doesn't look very good,
I'd like to set a flag in the control (The control is a very thin wrapper for the API's treeview)
and when that flag is set draw the string centered in the treeview instead.

I found somewhere on google that this was only possible using Win32 messages with p/invoke.
My question is, how do I do this? I get the handle of the control and send some kind of paint message?
I haven't been into painting in WIN32 very much...

can anyone help me?
AnswerRe: Owner draw TreeView? Pin
Nick Parker3-Aug-04 3:45
protectorNick Parker3-Aug-04 3:45 
GeneralRe: Owner draw TreeView? Pin
misterbear4-Aug-04 1:37
misterbear4-Aug-04 1:37 
GeneralObjects and list boxes Pin
Barry Lapthorn2-Aug-04 23:29
protectorBarry Lapthorn2-Aug-04 23:29 
GeneralRe: Objects and list boxes Pin
leppie3-Aug-04 1:37
leppie3-Aug-04 1:37 
GeneralRe: Objects and list boxes Pin
Barry Lapthorn3-Aug-04 3:51
protectorBarry Lapthorn3-Aug-04 3:51 
GeneralRe: Objects and list boxes Pin
Dave Kreskowiak3-Aug-04 5:49
mveDave Kreskowiak3-Aug-04 5:49 
GeneralRe: Objects and list boxes Pin
gantww3-Aug-04 6:07
gantww3-Aug-04 6:07 
GeneralRe: Objects and list boxes Pin
Barry Lapthorn3-Aug-04 11:12
protectorBarry Lapthorn3-Aug-04 11:12 
GeneralRe: Objects and list boxes Pin
Barry Lapthorn3-Aug-04 11:11
protectorBarry Lapthorn3-Aug-04 11:11 
QuestionHow often? Pin
matthias s.2-Aug-04 23:20
matthias s.2-Aug-04 23:20 
AnswerRe: How often? Pin
leppie3-Aug-04 1:33
leppie3-Aug-04 1:33 
GeneralDoubt in Phil Wright's TabControl Pin
Archana19772-Aug-04 22:14
Archana19772-Aug-04 22:14 
GeneralRe: Doubt in Phil Wright's TabControl Pin
leppie3-Aug-04 1:43
leppie3-Aug-04 1:43 
GeneralRe: Doubt in Phil Wright's TabControl Pin
Archana19773-Aug-04 2:27
Archana19773-Aug-04 2:27 
GeneralRe: Doubt in Phil Wright's TabControl Pin
Nick Parker3-Aug-04 3:29
protectorNick Parker3-Aug-04 3:29 
GeneraldlThread exception handler Pin
LorenzoDV2-Aug-04 22:02
LorenzoDV2-Aug-04 22:02 
GeneralRe: dlThread exception handler Pin
leppie3-Aug-04 1:46
leppie3-Aug-04 1:46 

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.