|
Isn't there a Pocket PC 2003 emulator? This emulator image download[^] certainly implies as much.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Thanks!
There is an option during building of .exe i.e Win 32 (WINCE emulator).
Shall i have to use this to run in the emulator image.
Then how can i debug my code?
Thanks !
|
|
|
|
|
Once you start debugging, the emulator will be displayed on the screen and you'll be able to interact with it (click on your app for instance). To debug, well, it is similar as debugging a desktop application: you can set break points, inspect variables, ...
|
|
|
|
|
I've never used Windows MObile, Pocket PC or the emulator - can I suggest you look at the documentation, starting here[^] at the emulator section?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Yes, you can use the emulator for that purpose. You can't run it directly on windows XP, only through the emulator.
|
|
|
|
|
Hi all,
please tell me how can i Convert a DWORD value in CString.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
|
I dont know which type is used here.
please explain me with example.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: I dont know which type is used here.
What do you mean ? You don't know what is contained in your DWORD ? What are you trying to achieve exactly ?
|
|
|
|
|
My DWORD variable has some numeric value.
i mean like %d use for int conversion,wat can i use for Dword conversion.
thanks
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: i mean like %d use for int conversion,wat can i use for Dword conversion.
DWORD is unsigned long . printf tutorial[^] for you.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
"_$h@nky_" wrote: wat can i use for Dword conversion.
Have you tried to find what a DWORD resolves to (hint: in VS6, use F12)? It took you more time to make two posts here.
"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: Have you tried to find what a DWORD resolves to (hint: in VS6, use F12)? It took you more time to make two posts here.
Post count matters, you know. Mine just went up by 1 with this post.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
CString::Format [^] usage is pretty strightforward...
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]
|
|
|
|
|
DWORD d;
CString cstrExample;
cstrExample.Format(_T("%d"), d);
|
|
|
|
|
Hello,
I have a project which is not Doc-View Architecture. Now in the basic project the view class is derived from CWnd whereas I want to derive from CView .Will this have any problem with the basic functionality of the application since I want to write code in the OnDraw() of CView and not in OnPaint().
Prithaa
|
|
|
|
|
There are lots of differences, and CView makes many assumptions about it's environment.
(see Inserting a Doc/Frame/View in a dialog using a custom control[^])
If all you're interested in is OnDraw instead of OnPaint, why don't you look at the CView::OnPaint in the MFC code, and imitate that in your CMyWnd?
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
im a semi newbie to MFC. Im developing an application where in i have to copy the text whereever my mouse navigates and selects some texts. It can be like i select some texts by the mouse cursor and then hit a hot key(ctr+T etc..)so that my Application reads the texts and dumpsand then further process the received texts. Can any one please suggest me that idea that what functions or classes i can use.
|
|
|
|
|
you need Mouse and Keyboard Hooks[^]
See SetWindowsHook etc.
Correction!
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
modified on Thursday, April 16, 2009 7:43 AM
|
|
|
|
|
Mouse and keyboard hooks will be of absolutely no use in retrieving text. (A keyboard hook might be of benefit, to trap the hotkeys however.)
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
umm! thanks for correcting. I will go through the link you provided.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
|
This is not an easy challenge.
1/ Detect the key being pressed! Keyboard hook, or a global hot key (see RegisterHotKey) which I'd recommend more.
2/ Then you have to get the window user the mouse. (RealChildWindowFromPoint)
3/ Then you have to extract the actual text. The way of doing this will vary from application to application. Firefox will be different from iexplore. FoxitReader will be different from Acrobat.
4/ You could get the pixel in the window, maybe using WM_PRINT, but then you'd have to OCR them to get the text...
5/ pdf and html viewers already have clipboard filling functions... It's a lot less work to use them!
Good luck though, as this would be a major challenge to a pro. Maybe a semi-newbie who isn't afraid is the best person!
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
I am not 100% sure, but you can go in below way.
1) Register your hotkey (RegisterHotKey).
2) When hotkey pressed.
a. get focused or current window handle using "WindowFromPoint" API
b. send below message to window using handle to get text.
WM_GETTEXT or EM_GETSELTEXT or EM_GETSEL
Parag Patel
Sr. Software Eng, Varaha Systems
|
|
|
|
|
In pure win32 code. I need to set VScrool Position at the Bottom of the EditBox.
SendMessage( hWnd ,WM_VSCROLL, SB_BOTTOM, 0 ); is not working for me.
|
|
|
|