Click here to Skip to main content
15,916,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWebBrower2 and Scroolbar Pin
9-Jul-01 1:09
suss9-Jul-01 1:09 
QuestionSetting up an ImageList at runtime? Pin
Jack Mott25-Jun-01 5:17
Jack Mott25-Jun-01 5:17 
GeneralPROCENUMPROC Pin
25-Jun-01 5:07
suss25-Jun-01 5:07 
GeneralScrolling text window from stream. Pin
Malcolm McMahon25-Jun-01 4:54
Malcolm McMahon25-Jun-01 4:54 
GeneralNative Api ZwQuerySemaphore Pin
25-Jun-01 3:39
suss25-Jun-01 3:39 
GeneralNative Api ZwQuerySemaphore Pin
25-Jun-01 3:39
suss25-Jun-01 3:39 
GeneralRe: Native Api ZwQuerySemaphore Pin
Stephen Kellett26-Jun-01 2:33
Stephen Kellett26-Jun-01 2:33 
GeneralGDI+ Problems Pin
Andy Brace25-Jun-01 3:35
Andy Brace25-Jun-01 3:35 
I am trying to incorporate the pre-release version of GDI+ into a Win2000 app and am having a few problems.
1) LinearGradientBrush.SetWrapMode(WrapModeClamp) returns an Invalid Parameter (this call works fine with linear brushes and any of the tile wrap modes, and also works with the path gradient).
2) I need to be able to create gradients (both path and linear) that have more then two colors. To do this I call SetInterpolationColors and pass the array of colors and there positions. The problem is I also want to set the midpoint between colors at places other then 50%. To do this I'm trying to use SetBlend but I can't figure out how to set up the factors & positions to do this. When just using two colors I can do:
REAL factors[3] {0.0, 0.5, 1.0};
REAL positions[3] {0.0, 0.3, 1.0};
to set the mid-point to 30% but what do I need to do for more then two colors?

If you can help on either of these questions I would greatly appreciate it.
Thanks
Andy Brace
GeneralRe: GDI+ Problems Pin
Christian Graus25-Jun-01 10:54
protectorChristian Graus25-Jun-01 10:54 
GeneralRe: GDI+ Problems Pin
Andy Brace27-Jun-01 11:28
Andy Brace27-Jun-01 11:28 
GeneralRe: GDI+ Problems Pin
Christian Graus27-Jun-01 12:07
protectorChristian Graus27-Jun-01 12:07 
GeneralRe: GDI+ Problems Pin
Andy Brace28-Jun-01 3:24
Andy Brace28-Jun-01 3:24 
GeneralRe: GDI+ Problems Pin
28-Jun-01 3:46
suss28-Jun-01 3:46 
GeneralRe: GDI+ Problems Pin
28-Jun-01 3:50
suss28-Jun-01 3:50 
GeneralLogin Window Pin
25-Jun-01 3:06
suss25-Jun-01 3:06 
GeneralRe: Login Window Pin
l a u r e n25-Jun-01 7:33
l a u r e n25-Jun-01 7:33 
Question.EXE or .DLL ? Pin
25-Jun-01 3:05
suss25-Jun-01 3:05 
AnswerRe: .EXE or .DLL ? Pin
Michael P Butler25-Jun-01 4:36
Michael P Butler25-Jun-01 4:36 
AnswerRe: .EXE or .DLL ? Pin
l a u r e n25-Jun-01 7:35
l a u r e n25-Jun-01 7:35 
GeneralRe: .EXE or .DLL ? Pin
Gérald Mercet25-Jun-01 23:15
Gérald Mercet25-Jun-01 23:15 
GeneralRe: .EXE or .DLL ? Pin
l a u r e n26-Jun-01 2:33
l a u r e n26-Jun-01 2:33 
GeneralProcess viewer... Pin
25-Jun-01 2:54
suss25-Jun-01 2:54 
QuestionAbout the icons on the desktop? Pin
hjhwolffie25-Jun-01 1:59
hjhwolffie25-Jun-01 1:59 
AnswerRe: About the icons on the desktop? Pin
Christian Graus25-Jun-01 10:55
protectorChristian Graus25-Jun-01 10:55 
GeneralBackground and text colors of the date/time picker Pin
Serge Weinstock25-Jun-01 0:07
Serge Weinstock25-Jun-01 0:07 

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.