Ugly Bold Text
-
- Posts: 38
- Joined: Tue Jan 09, 2007 2:31 am
- Location: Winston-Salem, NC
Ugly Bold Text
Hi everybody -
I hope someone can shed some light on this. I think I'm doing everything right, but I must be missing something. I use Resource Workshop for my resources and save changes in a 16 bit DLL for 16 bit FW and save it as an RC file for FWH versions. I add the 1 24 "windowsXP.Manifest" to the top of the RC file. I compile and build with the Borland make system and everything works fine, except I get the old Bold text on some of the dialogs along with the nicer smaller WinXP type text. All of the text in my TWbrowse is the Bold type. What am I missing?
Charles Pratt
I hope someone can shed some light on this. I think I'm doing everything right, but I must be missing something. I use Resource Workshop for my resources and save changes in a 16 bit DLL for 16 bit FW and save it as an RC file for FWH versions. I add the 1 24 "windowsXP.Manifest" to the top of the RC file. I compile and build with the Borland make system and everything works fine, except I get the old Bold text on some of the dialogs along with the nicer smaller WinXP type text. All of the text in my TWbrowse is the Bold type. What am I missing?
Charles Pratt
Charles Pratt
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
-
- Posts: 38
- Joined: Tue Jan 09, 2007 2:31 am
- Location: Winston-Salem, NC
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Charles,
I would suggest creating a simple test file to display one of the dialogs that is showing the problem. Compile this test and link in the RC file to see if the problem persists. If it does then the problem is in the RC file, if not, then the problem is in the code of your application. Let us know what you find.
James
I would suggest creating a simple test file to display one of the dialogs that is showing the problem. Compile this test and link in the RC file to see if the problem persists. If it does then the problem is in the RC file, if not, then the problem is in the code of your application. Let us know what you find.
James
- RAMESHBABU
- Posts: 591
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
-
- Posts: 38
- Joined: Tue Jan 09, 2007 2:31 am
- Location: Winston-Salem, NC
Ramesh -
I tried the 0x4L in the style clause, but no effect.
James, Antonio -
I did a little test with Antonio's testfold sample. I separated the dialog and folder pages into separate .RC files and added them to a nearly empty DLL file (screens.dll) with Resource Workshop. In RW, I expanded the dialog and added a line of text (LTEXT) above the folders and added two buttons below. Then I saved the file as testfold.rc. When I recompiled testfold, the folders were still intact with a nice small font, but all of the text I put in via the RW was the bold ugly type, including on the two buttons I added. I can't pick up anything different from looking at testfold .rc.
Any clues?
Charles
I tried the 0x4L in the style clause, but no effect.
James, Antonio -
I did a little test with Antonio's testfold sample. I separated the dialog and folder pages into separate .RC files and added them to a nearly empty DLL file (screens.dll) with Resource Workshop. In RW, I expanded the dialog and added a line of text (LTEXT) above the folders and added two buttons below. Then I saved the file as testfold.rc. When I recompiled testfold, the folders were still intact with a nice small font, but all of the text I put in via the RW was the bold ugly type, including on the two buttons I added. I can't pick up anything different from looking at testfold .rc.
Any clues?
Charles
Charles Pratt
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Charles,
> I separated the dialog and folder pages into separate .RC files and added them to a nearly empty DLL file (screens.dll) with Resource Workshop.
You should be using screen32.dll, not the 16bit screens.dll, however why not just compile the RC files into your app? Workshop sometimes damages 32bit DLLs so I have given them up and I edit and compile RC files instead.
James
> I separated the dialog and folder pages into separate .RC files and added them to a nearly empty DLL file (screens.dll) with Resource Workshop.
You should be using screen32.dll, not the 16bit screens.dll, however why not just compile the RC files into your app? Workshop sometimes damages 32bit DLLs so I have given them up and I edit and compile RC files instead.
James
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Please upload a screenshot at www.imageshack.us and copy here the url to review it
-
- Posts: 38
- Joined: Tue Jan 09, 2007 2:31 am
- Location: Winston-Salem, NC
I have found a way to solve the problem by defining a font for every dialog in the prg. This was never necessary for my 16 bit apps. I was hoping that there was an easier way. However, it really it really makes an elegant look so the work will be worth it.
Thanks to everyone who responded.
Charles
Thanks to everyone who responded.
Charles
Charles Pratt