|
Typically, special effects text drawing is accomplished by drawing the text more than once. Examples include shadowed text and sunken text (embossed).
For outlined text, a slightly larger font is created and the text drawn using the larger font prior to the normal text being drawn.
For shadowed text, the text is drawn using a grey color in a rectangle offset down and right by 2x2 or 4x4 (depending on the depth of the shadow) prior to the normal text being drawn.
For embossed text, the text is drawn using a white or grey color in a rectangle offset up and left by 2x2 or 4x4 (depending on the depth of the embossing) prior to the normal text being drawn.
onwards and upwards...
|
|
|
|
|
Hi
How can i increase the 15 days in COleDateTime class?
Thanks Inadvance
Shailesh
|
|
|
|
|
create another COleDateTime of 15 days and add to the one that you want to add to.
MSN Messenger.
prakashnadar@msn.com
Tip of the day of visual C++ IDE.
"We use it before you do! Visual C++ was developed using Visual C++"
|
|
|
|
|
did someone test CHtmlView_Search_demo.zip - a sample about CHtmlView to find text - before?
why does it works fine with debug version but doesn't work with release version?
includeh10
|
|
|
|
|
Why is everyone talking about problems and forgets to describe them!?
Don't try it, just do it!
|
|
|
|
|
To make it more challenging for us to be able to help them. Nothing else makes sense.
PS. They should all be forced to work on a help desk for a while.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
You could have asked the author of the article in his message board about the problem... simplely the article author is using uninitialised variables that gives different result in debug/release build.
MSN Messenger.
prakashnadar@msn.com
Tip of the day of visual C++ IDE.
"We use it before you do! Visual C++ was developed using Visual C++"
|
|
|
|
|
Hi all,
Are there any resources on programming application skin for software
in Visual C++ 6.0 ?
And for the simplest way, how can I change the background image
of a CDialog ?
Thanks
|
|
|
|
|
pyhtang1 wrote:
And for the simplest way, how can I change the background image
of a CDialog ?
While it's not the basis for the article, you can find how to do that here.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
|
When I remove the WS_THICKFRAME style from my window, I get a 1 pixel wide transparent line around the view (I am using the document/view architecture).
Also I cannot figure out how to remove the gripper from the status bar, I have tried removing the CBRS_GRIPPER value using m_wndStatusBar.ModifyStyle(CBRS_GRIPPER,0) but that doesn't work.
Go to http://a.domaindlx.com/sschilachi/snooker.JPG[^] to see a screenshot of the window
Any help would be greatly appreciated.
Thanks
|
|
|
|
|
Something is definitely odd here. I took an SDI application and removed the WS_THICKFRAME style in CMainFrame::PreCreateWindow() . I compared the result to what it normally shows, and there is no transparent line and the gripper is gone, too.
You might want to create a temporary SDI application to play around with that style some more.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I had actually removed the style in CWinApp::InitInstance() , using m_pMainWnd->ModifyStyle() , so that was what caused it - it worked fine when I used CMainFrame::PreCreateWindow() instead.
Thanks
|
|
|
|
|
Hello,
I'm looking for a software which helps to design my software.
I would prefer freeware.
Who knows a good one?
Greez, Alex
Don't try it, just do it!
|
|
|
|
|
Now i dont like coz you are not asking the name of an api that you dont know..
Eat your words buddy[^]
MSN Messenger.
prakashnadar@msn.com
Tip of the day of visual C++ IDE.
"We use it before you do! Visual C++ was developed using Visual C++"
|
|
|
|
|
I'm not asking you how to do my whole software, I'm just asking for good tools.
Don't try it, just do it!
|
|
|
|
|
There are very few freeware design tools available, and most of them are outright garbage. I suggest investing on a real tool, such as Rational Rose's UML toolset. While not the best one, it's up for the task of designing many, many types of applications.
Naturally, the very best way to design a software is to use pen & paper. Write, my friend, write down every little detail you can think of your application, what it does, how it does it, how can people use it, what components should it have. Faster than you notice, you have a clear application skeleton to build on.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
Antti Keskinen wrote:
Naturally, the very best way to design a software is to use pen & paper. Write, my friend, write down every little detail you can think of your application, what it does, how it does it, how can people use it, what components should it have. Faster than you notice, you have a clear application skeleton to build on.
Then we just need to feed the paper into a scanner and let the computer produce the app for us.;) Wouldn't that be great.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
Yeah, very funny indeed
But, to be truthfull, the code generation abilities of the UML modelling tools very often lack effectiviness, or have an obscure way of writing very bad code. I have seen this with Rational Rose's tools.
The program is good for creating the initial layout and possibly some case views or sequences, but for code generation purposes, you get much cleaner results by manually writing the code...
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
There is a spanish professor I think who invented a "higher" language. You have to create the concept and this software writes the C++ code for you...
I don't like the idea that machines will create our codes in the future...
Don't try it, just do it!
|
|
|
|
|
Ok. After installing (or so it seems) VC 6 SP5 and Platform SDK from
begining of 2003 I get access violation in kerner32.dll at 77e7a67a when
local object of CFileDialog is being destroyed. Why? If I try to allocate
CFileDialog with new and deallocate it with delete it works. Other common
dialogs work fine as local objects on the stack.
One more observation: costom file dialog which derived from CFileDialog and
extends UI won't work on both stack AND heap.
What could be wrong?
Simple AppWizard generated app doesn't have this problem.
Thanks a lot!
|
|
|
|
|
I'd start by looking at the stack back trace in the debugger when the violation occurs and see if you can work out what is causing it.
My guess is you have had a bug all along and it has just decided to show itself for whatever reason.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
No! I Found it!
The problem is that _WIN32_WINNT is defined 0x500 or higher.
When one wants to use certain Win 2000 APIs with Platform SDK this problems comes up.
See acticle on this.
|
|
|
|
|
I need to print out a series of pages where each page can be a different orientation. That is the first is landscape, the second is portrait, then back to landscape, etc. Thus I can't use the code to change the default orientation but have to set it each time.
With the printing outlined in a CView class it only makes sense to make the change in OnPrepareDC, or perhapes in OnPrint.
Thanks in advance for your help.
|
|
|
|
|
it is in DEVMODE struct, u can do it by code
includeh10
|
|
|
|