|
|
Naveen R wrote: try
RoundRect().
RoundRect() fills the area with the currently selected brush.
Thus I would lose the gradient background.
Cutebug
|
|
|
|
|
why dont u first draw the frame and then fill the rgn?
nave
|
|
|
|
|
Ok I draw the frame first.
Then, for filling the region with gradient background, I am considering the pixels from 0 to rect.width() (For Width) and from 0 to rect.Height() (For Height).
Since this is a rounded rectangle, I don't know how to deal with the curved portion of the region so as not to paint over the boundary.
How do I accomplish this?
Cutebug
|
|
|
|
|
did u try selecting null brush as Mark Salsbery said?
nave
|
|
|
|
|
cutebug wrote: RoundRect() fills the area with the currently selected brush.
Thus I would lose the gradient background.
What about selecting a NULL brush?
|
|
|
|
|
ho ...left this point
nave
|
|
|
|
|
Using of NULL_BRUSH provides no help and the entire region is filled by BLACK.
Cutebug
|
|
|
|
|
cutebug wrote: Using of NULL_BRUSH provides no help and the entire region is filled by BLACK.
Hmm... that sounds like an RGB(0,0,0) brush, not a GetStockObject(NULL_BRUSH) brush.
|
|
|
|
|
It worked with SelectStockObject(NULL_BRUSH).
Thanks a lot.
Cutebug
|
|
|
|
|
hi i m exactly looking for what u have done.
Actually i want to apply gradient background to my dialogs and make it rounded rectangle and create a frame. i have seen nish article but i didn't understand where to put the code. i didn't find any onerasebackground message. can u plz post ur code or plz send it to indupuriraj@yahoo.co.in
thnx in advance.
|
|
|
|
|
How can i add support of different languages to my application?
|
|
|
|
|
kiranin wrote:
How can i add support of different languages to my application?
MultiLanguage[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
I've got a list of names in a combo box, which have to be sorted right. What I'm trying to do is insert a name into the middle of the list without overwriting an existing name or screwing up the order of the list. What's the best way to do that? Should I open up a gap by shifting the names after the position I'm inserting at to the right, and then use InsertString to put the name in? Or is there a more efficent way of doing it? I can't use the built in sorting than comes with the CComboBox class since I need more control than it can provide.
|
|
|
|
|
CoffeeAddict19 wrote: What I'm trying to do is insert a name into the middle of the list without overwriting an existing name or screwing up the order of the list.
Check out CComboBox::InsertString()
|
|
|
|
|
NEVER GO FOR THIS .... there is nothing there .
Only at the site you will see indexes & syllabus for the courses in interactive way
but while doing the course , I felt very cheated .
They charged Rs 6500 for "Programming Expertise in Visual C++ ". There was no time boundation , no
exercise checking , many lectures were absent and at the last they didn't give any project .
They were in hurry to give the certificate and get rid of me .
Same is the story with other online courses .
Never go for any e-course from KSET Pvt. Ltd. ( http://quest.ksetindia.com )
Avanish
|
|
|
|
|
You should probably post this a few more times....just in case I missed something the first three
times.
I'll give you some projects and only charge you half that.
|
|
|
|
|
avanish123 wrote:
Never go for any e-course from KSET Pvt. Ltd. ( http://quest.ksetindia.com )
why don't you directly ask that from Mr. Yashwant Kanetkar!.. they are always available for help via mail !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
This really should go in the soapbox.
Either way, there's no substitute for buying a good book and working through it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
NEVER GO FOR THIS .... there is nothing there .
Only at the site you will see indexes & syllabus for the courses in interactive way
but while doing the course , I felt very cheated .
They charged Rs 6500 for "Programming Expertise in Visual C++ ". There was no time boundation , no
exercise checking , many lectures were absent and at the last they didn't give any project .
They were in hurry to give the certificate and get rid of me .
Same is the story with other online courses .
Never go for any e-course from KSET Pvt. Ltd. ( http://quest.ksetindia.com )
|
|
|
|
|
avanish123 wrote: They were in hurry to give the certificate and get rid of me .
Same is the story with other online courses .
please calm down dude!... this is not right way to raise your voice.. i believe you should contact the author himself before raising your voice on Global Forum!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
i always failed with create a IPv6 socket on PPC2003/WM5. the function like that: socket(AF_INET6, SOCK_DGRAM, IPPROTO_IPV6));
it always return INVALID_SOCKET, and the error code is 10043.
but the IPv4 socket could be success everytimes.
how can i do? whether the IPv6 protocol was not deploy on my device? how to deploy it?
|
|
|
|
|
fansy_fs wrote: PPC2003
Pocket PC right? Does it even support IP6? I thought Windows Server 2003 was the first MS OS to support IP6.
[edit]
Googled IPPROTO_IPV6, IPPROTO_IPV6 Socket Options[^] came up, see the list of requirements.
Declared in Ws2def.h on Windows Server "Longhorn" and Windows Vista; include Winsock2.h.
Declared in Winsock2.h on Windows Server 2003 and Windows XP.
List of supported OS's
Windows XP Windows Server 2003 Windows Vista
-- modified at 2:51 Tuesday 5th December, 2006
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Windows Server "Longhorn" and Windows Vista support IPv6 by default, WindowsXp also support IPv6 by execute:"ipv6 install" in command line.
MS claim WinCE4.2 and higher versions support perfectly.
but i could not find how to configure it on the emb OS.
does the mobile OS have the same tools like "ipv6.exe netsh.exe ipconfig.exe" on x86?
|
|
|
|
|
I want to display internet explorer history in a list control.I have gone through an article in code project "Access Internet Explorer's History in MFC
By Akash Kava". I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
|
|
|
|