|
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
|
|
|
|
|
Hi,
I have a list of objects which are all releated in some kind of way with each other.
But now i need to prevent cyclic references in my links.
Just like Excel prevent this when a formula got a cyclic reference.
Is there a sort of algoritm that can be used for this check or what would be the best
way to implement this.
If you need more specific information just let me know.
Merry XMas too all,
BadKarma
codito ergo sum
|
|
|
|
|
Keep checking for cycles. I had a similar problem. I solved it by setting flags on each list node.
I have another method, lol can't say how useful it could be for you.
I tried with a slow and fast traverser.
Fast traverses the list like ->next()->next()
Slow traverses the list like ->next()
If fast comes around and catches up with slow then there is a cycle.
This helped me a lot.
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
|
|
|
|
|
Hi,
I am getting the text data "12345" and i want to convert it into long data type 12345. Is there any API which do this?
Thanks
|
|
|
|
|
|
It would not give same 12345 number. I am not looking for long value of text "12345". I am looking for same number which text contain!!
|
|
|
|
|
I have checked atol
it works fine i think it satisfies ur demand
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
kidding?
"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]--
|
|
|
|
|