Click here to Skip to main content
16,012,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTEXTMETRIC tmX.tmOverhang: why is it zero even for BOLD font?! Pin
Axonn Echysttas17-Jan-06 21:28
Axonn Echysttas17-Jan-06 21:28 
AnswerRe: TEXTMETRIC tmX.tmOverhang: why is it zero even for BOLD font?! Pin
James Brown17-Jan-06 21:34
James Brown17-Jan-06 21:34 
GeneralRe: TEXTMETRIC tmX.tmOverhang: why is it zero even for BOLD font?! Pin
Axonn Echysttas17-Jan-06 22:03
Axonn Echysttas17-Jan-06 22:03 
AnswerRe: TEXTMETRIC tmX.tmOverhang: why is it zero even for BOLD font?! Pin
Axonn Echysttas17-Jan-06 23:05
Axonn Echysttas17-Jan-06 23:05 
GeneralRe: TEXTMETRIC tmX.tmOverhang: why is it zero even for BOLD font?! Pin
Owner drawn18-Jan-06 0:52
Owner drawn18-Jan-06 0:52 
QuestionNTFS permissions Pin
kelprinc17-Jan-06 21:02
kelprinc17-Jan-06 21:02 
QuestionHow to set The Path? Pin
rajeev8217-Jan-06 20:32
rajeev8217-Jan-06 20:32 
AnswerRe: How to set The Path? Pin
Owner drawn17-Jan-06 20:40
Owner drawn17-Jan-06 20:40 
rajeev82 wrote:
when the exe is copied to the desktop from the debug folder and run from there, I'm getting an error message which says,"THE FILE COULD NOT BE OPENED"


Yeah this will happen because the exe looks for files in it's path i.e the path from where it started up(not always) i.e. desktop. You've got to mention the filename path to solve this.

Or else you can do this.

Put the file where the exe is.

Then you use this function to get the path of the exe:

GetModuleFileName(...)

Append this path to the file name. Then it will work always.

Jesus LovesRose | [Rose]
<marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner DrawnRose | [Rose]
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is LordRose | [Rose]

AnswerRe: How to set The Path? Pin
vallikumar17-Jan-06 21:19
vallikumar17-Jan-06 21:19 
AnswerRe: How to set The Path? Pin
ThatsAlok18-Jan-06 0:42
ThatsAlok18-Jan-06 0:42 
AnswerRe: How to set The Path? Pin
vikas amin18-Jan-06 2:06
vikas amin18-Jan-06 2:06 
Questionhow to hide title bar and status bar from the window. Pin
baldha rakesh17-Jan-06 20:14
baldha rakesh17-Jan-06 20:14 
AnswerRe: how to hide title bar and status bar from the window. Pin
Owner drawn17-Jan-06 20:22
Owner drawn17-Jan-06 20:22 
AnswerRe: how to hide title bar and status bar from the window. Pin
Stephen Hewitt17-Jan-06 20:22
Stephen Hewitt17-Jan-06 20:22 
QuestionProblem in activeX control events Pin
FASTian17-Jan-06 20:04
FASTian17-Jan-06 20:04 
QuestionModal dialog - Close - ESC Pin
Sarvan AL17-Jan-06 19:25
Sarvan AL17-Jan-06 19:25 
AnswerRe: Modal dialog - Close - ESC Pin
vallikumar17-Jan-06 19:38
vallikumar17-Jan-06 19:38 
GeneralThanks: Modal dialog - Close - ESC Pin
Sarvan AL17-Jan-06 19:41
Sarvan AL17-Jan-06 19:41 
GeneralRe: Modal dialog - Close - ESC Pin
Owner drawn17-Jan-06 19:45
Owner drawn17-Jan-06 19:45 
AnswerRe: Modal dialog - Close - ESC Pin
Stephen Hewitt17-Jan-06 19:48
Stephen Hewitt17-Jan-06 19:48 
GeneralRe: Modal dialog - Close - ESC Pin
Owner drawn17-Jan-06 20:01
Owner drawn17-Jan-06 20:01 
AnswerRe: Modal dialog - Close - ESC Pin
Stephen Hewitt17-Jan-06 19:51
Stephen Hewitt17-Jan-06 19:51 
GeneralRe: Modal dialog - Close - ESC Pin
S Douglas17-Jan-06 23:11
professionalS Douglas17-Jan-06 23:11 
AnswerSimple as Pie! Pin
Rajesh R Subramanian17-Jan-06 19:59
professionalRajesh R Subramanian17-Jan-06 19:59 
GeneralRe: Simple as Pie! Pin
Stephen Hewitt17-Jan-06 20:05
Stephen Hewitt17-Jan-06 20:05 

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.