Click here to Skip to main content
15,886,065 members
Home / Discussions / C#
   

C#

 
GeneralRe: Active application? Pin
phimix16-Jan-04 3:07
phimix16-Jan-04 3:07 
GeneralC#/Java communication Pin
Norman Fung14-Jan-04 23:31
Norman Fung14-Jan-04 23:31 
GeneralRe: C#/Java communication Pin
Jinwah14-Jan-04 23:50
Jinwah14-Jan-04 23:50 
GeneralRe: C#/Java communication Pin
Norman Fung15-Jan-04 3:55
Norman Fung15-Jan-04 3:55 
GeneralRe: C#/Java communication Pin
Heath Stewart15-Jan-04 5:04
protectorHeath Stewart15-Jan-04 5:04 
GeneralRe: C#/Java communication Pin
Norman Fung15-Jan-04 6:24
Norman Fung15-Jan-04 6:24 
GeneralOwner drawn menus Pin
UB14-Jan-04 23:01
UB14-Jan-04 23:01 
GeneralRe: Owner drawn menus Pin
Heath Stewart15-Jan-04 4:48
protectorHeath Stewart15-Jan-04 4:48 
To make a menu transparent, you can use Menu.Handle to get an HWND for the popup window that represents that menu and use the native function SetLayeredWindowAttributes (you'll have to P/Invoke it). To draw the menu without a border, you'll have to handle the MenuItem.DrawItem event and do all the drawing yourself.

You can find several examples here on CodeProject using a search like menu draw[^] or similar. Dr. Gui on MSDN[^] also had a good example some time back at http://msdn.microsoft.com/library/en-us/dnaskdr/html/askgui11062001.asp[^]. The example's in VB.NET but it's mostly method calls (remember, the base class library - or any assembly for that matter - is available to all languages that target the CLR, or ".NET languages", in the same way; though, the syntax for making those calls may be different).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Owner drawn menus Pin
UB16-Jan-04 5:39
UB16-Jan-04 5:39 
GeneralScrolled object positioning Pin
Jinwah14-Jan-04 22:08
Jinwah14-Jan-04 22:08 
GeneralRe: Scrolled object positioning Pin
Heath Stewart15-Jan-04 4:38
protectorHeath Stewart15-Jan-04 4:38 
GeneralPlease give me an idea. Pin
god4k14-Jan-04 21:31
god4k14-Jan-04 21:31 
GeneralRe: Please give me an idea. Pin
Jinwah14-Jan-04 23:47
Jinwah14-Jan-04 23:47 
GeneralRe: Please give me an idea. Pin
Heath Stewart15-Jan-04 4:29
protectorHeath Stewart15-Jan-04 4:29 
GeneralInserting and Updating BLOBS Pin
Guinness4Strength14-Jan-04 18:28
Guinness4Strength14-Jan-04 18:28 
GeneralRe: Inserting and Updating BLOBS Pin
Heath Stewart15-Jan-04 4:24
protectorHeath Stewart15-Jan-04 4:24 
GeneralRe: Inserting and Updating BLOBS Pin
Guinness4Strength15-Jan-04 4:44
Guinness4Strength15-Jan-04 4:44 
GeneralRe: Inserting and Updating BLOBS Pin
Heath Stewart15-Jan-04 6:54
protectorHeath Stewart15-Jan-04 6:54 
GeneralRe: Inserting and Updating BLOBS Pin
Guinness4Strength15-Jan-04 8:20
Guinness4Strength15-Jan-04 8:20 
QuestionBest way of tracking remoting clients? Pin
Alex Korchemniy14-Jan-04 18:21
Alex Korchemniy14-Jan-04 18:21 
AnswerRe: Best way of tracking remoting clients? Pin
occcy14-Jan-04 21:22
occcy14-Jan-04 21:22 
GeneralRe: Best way of tracking remoting clients? Pin
Heath Stewart15-Jan-04 3:57
protectorHeath Stewart15-Jan-04 3:57 
AnswerRe: Best way of tracking remoting clients? Pin
Heath Stewart15-Jan-04 4:03
protectorHeath Stewart15-Jan-04 4:03 
GeneralRe: Best way of tracking remoting clients? Pin
Alex Korchemniy15-Jan-04 4:37
Alex Korchemniy15-Jan-04 4:37 
GeneralRe: Best way of tracking remoting clients? Pin
Heath Stewart15-Jan-04 9:41
protectorHeath Stewart15-Jan-04 9:41 

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.