|
See [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
prerananit wrote: code for recognising character pattern in vc++
UINT RecognisePattern(LPVOID p)
{
}
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I would expect
BOOL MyMFCFunkyClass::OnRecognisePattern(const CString & szTextWithPossiblyHiddenPattern)
{
}
From you...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Well, I felt like providing a generic, cross-platform solution today.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Cross platform? UINT & LPVOID ? Surely you're Joking, Mr. Subramanian!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
That may pull a tough one on the OP. He may post a query asking how to port LPVOID to Linux.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Rajesh R Subramanian wrote: He may post a query asking how to port LPVOID to Linux.
You mean it's not a Linux Pointer?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
DavidCrow wrote: You mean it's not a Linux Pointer?
Yeah, it is a Long Playing VOID, indeed.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi all,
In My application before starting Worker thread i m using CWaitCursor but its not displayed.
even i try it inside of Worker thread but its not working here also.
so please tell me how can i use CWaitCursor in Worker thread.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
There's a flaw in your logic here. If you compute things in a worker thread, it means that your UI will still be responsive. So why do you want to display a wait cursor ?
|
|
|
|
|
Actually i done calculation in worker thread and display sum result on modelless dialog box that show on Main dialog box,so i want to display wait cursor here .
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
You can do a BeginWaitCursor / EndWaitCursor .
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Let the worker thread work and the UI thread handle the UI: setting the cursor is part of the UI.
Steve
|
|
|
|
|
I have handlw to that window
Trioum
modified on Friday, June 12, 2009 2:03 AM
|
|
|
|
|
trioum wrote: how can we send a ctrl+V message to window .I have handlw to that window
You can use WM_PASTE , if it's an edit control, directly and your intention is to paste some text from clipboard. Also you can try SendInput[^].
|
|
|
|
|
|
You should not be doing such a thing though, you've been asking it for something like a month here. So...
Send key-stroke messages in this order:
Control (Key down)
S (key down)
S (key up)
Control (Key up)
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
|
|
ok
Trioum
modified on Friday, June 12, 2009 2:01 AM
|
|
|
|
|
How would I know what were you doing? Is it difficult for you to show me your code?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
ok I use
Trioum
modified on Friday, June 12, 2009 2:01 AM
|
|
|
|
|
yet i solve my problem
Trioum
modified on Friday, June 12, 2009 2:02 AM
|
|
|
|
|
Hi,
what would be the output of following code:
main()
{
int a=1;
printf ("%d", a+=(a+=3,5,a));
}
In VC++ it is showing output: 8
In AS/400’s C showing output: 5
If it is complier dependent, plz tell me the logic of both the answers.
"We can't solve problems by using the same kind of thinking we used when we created them"
modified on Monday, June 8, 2009 6:08 AM
|
|
|
|