|
Hello. I have a pocket PC and I need to draw one string (or add a label) on the incoming call bubble. So my question is this:
How do you draw a string on a dialog that is not yours using the coredll functions? I would definately settle for being able to add a "static" or label. How would I do that?
I used spy++ and found out that the incoming call dialog bubble window hierarchy goes like this:
"text": (class)
-"Phone - Incoming...": (Dialog)
-- "": (Working)
--- "": (DISPLAYsomething)
---- "": (Webview)
----- "Accept": (ATL::BUTTON)
----- "Ignore": (ATL::BUTTON)
I am able to set text on any of those, but unfortuately they did not use a label for anything on the form other than the buttons. So that means I cant just find the existing label and change the text.
Is there a way to hook the WM_PAINT event to call a c# function after doing the regular paint? If so will I be able to use TextOut or something similar to draw a string on the form? Which window should I draw on? The Webview one?
I have been fighting with this for a while. Thanks.
Ben
|
|
|
|
|
Hi everyone!
Is it somehow possible to load, scale AND save JPEGs in evc4?
It would be no problem with GDI+, but I must use unmanaged code, so I do not have the compact framework. (Someone told me there would be no saving for Image at all for embedded)
Are there other solutions than GDI+? Or can I include GDI+ just like for desktop windows also under native? I found some imaging.h and gdiplusimaging.h in the PPC2003 SDK, but no MSDN entry or whatever for it and also no way to make use of these (boring ) files.
Or does anybody know another easy way for my problem?
Thanks,
Roland
|
|
|
|
|
Try looking up info on the IJG Library. Right now that's actually the only free way to do it as the GDI+ isn't fully implemented in the compact framework. So unmanaged is pretty much your only option. IJG is the independent jpeg group and if you go to pocketpcdn.com they have a wrapper project that makes it easier. LEADTOOLS is easiest of course, but its 1000$.
Nick
|
|
|
|
|
At the first time when I set up my apllication and start it, merge replication is done ( 2 minutes). That's not the problem. I want avoid full cycles of replication after the first time. All the time I have to wait 2 minutes, but Merge Replication shoould only replicate changed items.
I am calling the Method ReinitializeSubscription(true) before call Synchronize(), for update reasons (If database passed the first replication already).
Is there a way to cut the replication time ?
|
|
|
|
|
Hi
Ive used AdrianStanley's Sortlistview classes (available here susccessfully on the emulator but upon deploying dll are not found (also evc++ wont work on my machine). Looking for a solution I tried using unicode geometric shapes - did not work got a plain square on supposedly unicode compliant Fonts.
Tried Alans Glacial list (available here) - wont work on CF.
Then I found Alex Yakhnin's CustomHeader Code (opencf), that worked, but separately from the nice compares and the very useful TAG property on the Stanley's SortLitView . Now I am trying to merge both without success can anyone point me in the right direction.
Thanks
Aixa
myCSharp.experience(less than 4 months);
|
|
|
|
|
Hi,
I have found some code for IrDA and in class declaration there are lines:
WCE_INS CAnyClass : public BaseClase_1
WCE_DEL CAnyClass : public BaseClass_2
I do not have any idea what that could be?
Can you help me, please!
D.J.
D.J.
|
|
|
|
|
Hi,
How do you upload a file to an IIS server using Pocket IE?
I know how to do this with IE using the
|
|
|
|
|
Hi!
Can someone tell me how to remove Pocket PC SDK 2002?
I installed it, it appears in VS.NET, but I cannot find it in the "Add/remove programs" list.
Thanks, Géza
|
|
|
|
|
hello dear ce coders,
im having some troubles with win ce .net 4.2 internet services.
mainly three problems occur again and again:
1) 'random' dhcp error when using wlan
2) wlan connection, sometimes dial-up gprs too is blocked after some
problem occured (broken transfer, suddenly out-of-reach access point...)
3) undefined or at least not transparent timeouts
any hints on how to
1) avoid the dhcp problem or at least avoid the corresponding dialog to be shown
2) do some kind of reset with wininet without actually performing a device-reset
3) set/change internal timeouts e.g. for ftp file transfers
are very welcome!
thank you in advance,
patrick
----
ragingbender@web.de
|
|
|
|
|
Hi..all
MFC for Windows CE does not support GetBitmapBits().
The method which gets a RAW data(RGB)in CBitmap????
Thanks..
Have a nice day!!!
|
|
|
|
|
in the Control panel of my devices I can adjust the available storage memory vs Program memory. The thing is that I would like to do that at run time in my application. (the users of the devices should not tinker with control panel settings .)
What function can I call to adjust this value?
Thanks to anyone that can help me out.
Greets,
Davy
|
|
|
|
|
|
Thx! Just what I needed...
|
|
|
|
|
hi
i want to know why the stream classes such as ifstream and ofstream are not workin in embeded vc4.0 (but given in help that they exist) and if there is any alternate to read from file in the embeded vc
ddd
|
|
|
|
|
yes
there is an alternate way. and should read the file through fopen(),fread()
by including the header file <stdio.h>.
ddd
|
|
|
|
|
|
I'm writing an application where i need to display Arabic characters to the screen, but have had no success so far. I don't want to use an Arabic locale i.e. arabic date formats etc. From what i can see I need to load a code page: can this be done during run-time or do i need to put it in the image, if so, how?
Any ideas/tips would be appreciated,
H.
|
|
|
|
|
Is there anyone out there interested in working on getting the Visual Component Framework[^] running on win CE devices using the eVC4 compiler? We could use the help.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
|
|
|
|
|
Is there a way, in C/C++ code, to (re-)assign a static ip address of a Windows CE.NET machine?
We are the all singing, all dancing crap of the world. - Tyler Durden
|
|
|
|
|
Hi all,
I'm developing a software on Pocket PC: HP iPAQ hx2400, Japanese OS. And I have a problem in IME management.
Some text box on my application only wish to get alpha characters, so I need to change the IME mode to alpha, not katakana or hiragana as default of Pocket PC.
I already tried to use "ImmSetConversionStatus", but this function only works properly on Emulator, but actual Pocket PC.
Any one help me?
|
|
|
|
|
hello,
I want to associate an icon with my pocket pc application, i learned that there are two kinds of icons size: 16 * 16 for the start menu icon and 32 * 32 for the other places. I have the two icons but how do i associate them with my application for each case.
And by the way, when i deploy the application, the application's folder installs itself in the program files folder, i want to have a shortcut of my application in the 'programs' folder of the start menu when i deploy it.
How do i automate this process?
Thank you.
|
|
|
|
|
If you are using C++, the application icon is the one with the lowest resource ID number. You can mix both resolutions on the same icon and Windows will know which one to use.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
I have a question about a difference between Visual Studio 6.0 and eMbedded Visual Studio 4.0. I created Add-In. This Add-In suppose to open files inside development studio. In order to open files inside Add-In I have code:
CString StringName = "C:\\Test.txt"
CComQIPtr<idocuments, &iid_idocuments=""> pDocs;
CComPtr<idispatch> pDispDocs;
CComBSTR bstrFile = StringName;
m_pApplication->get_Documents(&pDispDocs);
if (pDispDocs)
{
pDocs = pDispDocs; //query interface IDocuments
if (pDocs) //pointer to interface returned
{
CComVariant vtDocType = _T("Auto");
CComVariant vtBoolReadOnly = FALSE;
CComPtr<idispatch> pDispDoc;
hr = pDocs->Open(bstrFile , vtDocType, vtBoolReadOnly, &pDispDoc);
}
}
When I run my Add-In inside Visual Studio everything is working and my Add-In is able to open the file, but when I run it in EMbedded Visual Studio after I query interface IDocuments pDocs pointer is NULL. When I use the similar technique to add files to active project it works fine for both VC ++ 6.0 and eMbedded VC++ 4.0 but file opening fails inside eMbedded Studio.
Thanks!
|
|
|
|
|
I believe you need to use the headers from %ProgramFiles%\Microsoft eMbedded C++ 4.0\EVC\Include\ObjModel , and you'll also need to define EVC4 , e.g. in the Preprocessor Definitions section of the C/C++ tab of Project Settings. eVC4 and Visual Studio 6 use different GUIDs - this allows them to better exist side-by-side. A problem in the old Windows CE Toolkit for Visual C++ 6.0 days was that installing the WCE Toolkit would often break your Visual C++ installation for compiling desktop apps, and IIRC required you to have a specific service pack level too.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Please help me in writing a code to know whether a webcam is attached to any USB port or not? This is very urgent
Thanking you
anukampa
|
|
|
|