Click here to Skip to main content
15,902,777 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to use delegates? Pin
sreejith ss nair2-Sep-04 20:48
sreejith ss nair2-Sep-04 20:48 
Generaldraw a dynamic polyline join line Pin
luming11223344552-Sep-04 16:43
luming11223344552-Sep-04 16:43 
QuestionCan I draw my system cursor in Direct3D? Pin
redleafong2-Sep-04 16:27
redleafong2-Sep-04 16:27 
AnswerRe: Can I draw my system cursor in Direct3D? Pin
LongRange.Shooter3-Sep-04 7:00
LongRange.Shooter3-Sep-04 7:00 
Generalcapturing keydown events Pin
jtmtv182-Sep-04 12:38
jtmtv182-Sep-04 12:38 
GeneralRe: capturing keydown events Pin
Heath Stewart2-Sep-04 14:47
protectorHeath Stewart2-Sep-04 14:47 
QuestionHow do I unload an assembly Pin
khariv2-Sep-04 11:46
khariv2-Sep-04 11:46 
AnswerRe: How do I unload an assembly Pin
Charlie Williams2-Sep-04 12:45
Charlie Williams2-Sep-04 12:45 
GeneralSingle instance app, file extension problem HELP! Pin
cdengler2-Sep-04 11:15
cdengler2-Sep-04 11:15 
GeneralRe: Single instance app, file extension problem HELP! Pin
Heath Stewart2-Sep-04 11:42
protectorHeath Stewart2-Sep-04 11:42 
GeneralRe: Single instance app, file extension problem HELP! Pin
mav.northwind2-Sep-04 20:31
mav.northwind2-Sep-04 20:31 
GeneralRe: Single instance app, file extension problem HELP! Pin
cdengler3-Sep-04 15:49
cdengler3-Sep-04 15:49 
GeneralRe: Single instance app, file extension problem HELP! Pin
mav.northwind3-Sep-04 20:53
mav.northwind3-Sep-04 20:53 
GeneralExpense Tracker tool Pin
MT_SEA2-Sep-04 10:05
MT_SEA2-Sep-04 10:05 
GeneralRe: Expense Tracker tool Pin
Heath Stewart2-Sep-04 11:11
protectorHeath Stewart2-Sep-04 11:11 
GeneralC# System Window bar gradient colors Pin
Tristan Rhodes2-Sep-04 9:39
Tristan Rhodes2-Sep-04 9:39 
GeneralRe: C# System Window bar gradient colors Pin
Heath Stewart2-Sep-04 14:43
protectorHeath Stewart2-Sep-04 14:43 
GeneralRe: C# System Window bar gradient colors Pin
Tristan Rhodes2-Sep-04 17:01
Tristan Rhodes2-Sep-04 17:01 
GeneralRe: C# System Window bar gradient colors Pin
Heath Stewart3-Sep-04 6:13
protectorHeath Stewart3-Sep-04 6:13 
GeneralRe: C# System Window bar gradient colors Pin
Roland Bär2-Sep-04 20:16
Roland Bär2-Sep-04 20:16 
You have to use the API Function:
<br />
[DllImport("User32.dll", EntryPoint="GetSysColor")]<br />
public static extern int GetSysColor(long nIndex);<br />


The Integer you get is in the Form (hexadecimal)
<br />
0x00bbggrr<br />

(if I remeber right).

For the second color of the Title Bar gradient you need the color with the index 27. More info should be in the API description.

Greets
Roland
GeneralVS.NET 2005 Refresh Pin
Werdna2-Sep-04 9:25
Werdna2-Sep-04 9:25 
General.Net DateTime type and SQL DateTime type Pin
matthias s.2-Sep-04 7:32
matthias s.2-Sep-04 7:32 
GeneralRe: .Net DateTime type and SQL DateTime type Pin
partyganger2-Sep-04 8:37
partyganger2-Sep-04 8:37 
GeneralRe: .Net DateTime type and SQL DateTime type Pin
Gary Thom2-Sep-04 8:54
Gary Thom2-Sep-04 8:54 
GeneralC# equivalent to CStringList Pin
Glenn E. Lanier II2-Sep-04 5:59
Glenn E. Lanier II2-Sep-04 5:59 

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.