|
i don't know for __GNUC__
but i think the WIN32 macro tells the compiler that the target of the program will be Windows 95 (or later).
now if you #define __MSDOS__ (or such a macro), even if the program is build to be run on DOS (command line), it doesn't forbid anyone to run it under Windows XP for example. isn't it what you want ?
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
atlast you have done the most difficult job- makeing me understand. thanks, but sorry to disturb all you people
regards,
Rookie
Installing MFC...2% complete
|
|
|
|
|
no problem, it's a great pleasure when a thing that's quite hard to understand for someone, it finally understood thanks to my explanations...
cheers,
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
|
very nice examples
regards,
Rookie
Installing MFC...2% complete
|
|
|
|
|
I am making an Application analyzer.
It involves analyzing menu structure of an application too.
For acrobat reader it doesn't return any text for a menu. I am getting the menu items correctly but no text. So tree nodes are empty. I guess it could be because it is "ownerdrawn" (not me ).
But For Visual studio 2003 GetMenu returns NULL.
For Other windows it's working fine. For eg: Yahoo messenger.
Any ideas why this's happening.
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Help
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
m_BlueBrush ?? , nice
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1"> --[V]--
|
|
|
|
|
From MSDN[^]:
[quote]
GetMenu does not work on floating menu bars. Floating menu bars are custom controls that mimic standard menus; they are not menus. To get the handle on a floating menu bar, use the Active Accessibility APIs.
[/quote]
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
In my view I have an edit control. the variable associate to it is float.
If I put in characters I have an error in french " saisir le nombre" . to translate in english : "Introduise a number". And the program stop there.
I need to catch this error so that the program can't broken.
What to do ? where exactly to write codes.
I am using Visual c++ 6.0
I lear my self
|
|
|
|
|
|
You did'not say any thing that can help me
|
|
|
|
|
mikobi wrote: You did'not say any thing that can help me
you did not ask anything that can allow us to understand more.
if alok hadn't answer this, i would have replied exactly the same...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
In my formview I have some edit control where I must put numbers, but if put characters I have an message : "write number" and the program hang; the message stay one the screen.
I want to use Win32 Exception to handle this error so that the program can continue.
What to do ?. I know that I must write try{}, catch{} but where to write it and what to put inside this fonction ?
that my problem.
Would you like to help me ?
I learn my self
|
|
|
|
|
Handle EN_CHANGE.
And include Try Catch there.
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
|
toxcct wrote: right this time
When am I wrong.
toxcct wrote: '5'
LOL I Passed.
I have a message for you here below...
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Owner drawn wrote: have a message for you here below...
too bad, i don't believe in god
but you can salutate him from me
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
Sure. I will pray for you.....
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Owner drawn wrote: Sure. I will pray for you.....
what about me... happy xmas...logging off till xmas
"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
|
|
|
|
|
funny
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
|
Now i know that you understand my problem; can you show me the code to write(inside try and catch) so that the program will continue.
|
|
|
|
|
I don't know what to test in try {...}so that i can execute the throw command.
the message that appear when i put characters in float field is "Taper un nombre"("Write a number" I translate in English, my version is french).
What to test?
Give me an example related with my question
I learn my self
|
|
|
|
|
An easy way would be subclass the edit box and handle the WM_CHAR message. And do the exception handling there.
This way you can get individual characters as you type them and you will also be able to decide whether to process them or not.
You will get lot's of samples from Code project
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|