eVC++ Colored BMP to 4bit monochrom
Hello
I have a colored BMP (in bytes) which I want to convert to a 4bit monochrom
bitmap.
I can do it in .NET CF, but it's slow.
I'm very new to C++, could anyone post a small DLL code in eVC++ which can
do that?
Thanks a lot!!
Sven Tag: Call Function Tag: 124749
DMProcessConfigXML and SndSetSound makes the Windows message queue to work asynchronously
I have a very weird issue with a program that receive a windows
message ( a WM_USER one) and do some job. Doing this job takes
several seconds and then it waits for the next message.
If a new message comes while doing the job, it is retained in the
queue until the job ends because there is only the main thread. All is
fine until here.
But to do some parts of this job I call two functions:
DMProcessConfigXML and SndSetSound in different pieces of code. Well,
if there is a message in the queue, it enters while one of these
functions are being processed. As there cannot be two copies of the
main thread because global variables, etc, the program crashes. If no
other message arrives while doing the job, all works fine. Also,
commenting out these two lines the crashes dissapear.
I've introduced loging to a file to see when the functions enter,
message comes, etc and I'm sure that all is how I am telling it, even
if it sounds weird.
The message queue is the usual one:
WinMain:
#define EXTERNAL_COMMAND WM_USER+100 //As a example
MSG msg;
while (GetMessage (&msg, NULL, 0, 0)) //Despachamos los mensajes.
{
TranslateMessage (&msg);
DispatchMessage (&msg);
}
And the WinProc also is very straightforward:
LRESULT CALLBACK WndProc (HWND hwnd, UINT uimessage, WPARAM wParam,
LPARAM lParam)
{
TCHAR szParam[64];
switch (uimessage)
{
case EXTERNAL_COMMAND:
wsprintf(szParam,_T("%d"),(int)wParam);
ProcessParameter(szParam);
return 0;
case WM_CLOSE:
DestroyWindow (g_hWnd);
return 0;
case WM_DESTROY:
PostQuitMessage(0);
return 0;
}
return DefWindowProc (hwnd, uimessage, wParam, lParam) ;
}
void ProcessParameter(TCHAR szParam[64])
{
................
................
................
................
TCHAR szFavoriteXml[1024]={0};
lstrcpy(szFavoriteXml,
L"<wap-provisioningdoc> "
L" <characteristic type=\"Sync\"> "
L" <characteristic type=\"Settings\"> "
L" <parm-query name=\"PeakFrequency\" /> "
L" </characteristic> "
L" </characteristic>"
L"</wap-provisioningdoc>");
LPWSTR wszOutput = NULL;
HRESULT hr = E_FAIL;
// Process the XML.
hr = DMProcessConfigXML(szFavoriteXml, CFGFLAG_PROCESS,
&wszOutput); //Fallo 1
if (hr == E_FAIL)
return false;
delete [] wszOutput;
................
................
................
SNDFILEINFO sndfile = {0};// Initialize an empty SNDFILEINFO
structure
sndfile.sstType = SND_SOUNDTYPE_ON;
SndSetSound(SND_EVENT_ALL, &sndfile, true);
................
................
................
return;
}
Any idea will be wellcomed. Thanks! Tag: Call Function Tag: 124748
GPS turns off in standby mode
I've written a program that reads GPS coordinates, and it works
perfectly unless the device enters in standby mode, then it stops
receiving coordinates. I can deactivate the standby mode in Settings,
but that would keep everything turned on and it would waste too much
power. I want it to enter standby mode except for the GPS device.
I've read the reference of the GPS Intermediate Driver, and the
description of the Registry keys related to it, and there isn't any
setting to configure this.
Any ideas?
(Windows Mobile 5, Fujitsu-Siemens T830) Tag: Call Function Tag: 124742
WM5 and DB2/400
How does one go about interacting with db2 on an AS/400 from a WM5 device?
I can only find tools to talk to MS SQL. Are there any that will connect to
DB2/400 directly.
I have tried connecting to a Microsoft SQL table and trigger to a linked
DB2/400 table, but I get "Error: interface does not support triggers."
Does BizTalk have anything in it that will help?
Thanks,
Todd Tag: Call Function Tag: 124738
Calllog Event
Hello
I can get an event when I have a missedcall and when an incomming call is
happening.
But how can I just have an event when the calllog has been changed?
Because the incomming call event fires when:
1. The incomming call appears
2. The incomming call gets answered
3. The incomming call is missed
The missed call event fires when
1. The incomming call is missed
But when the incomming call gets answered, I dont get an even when the call
is closing, when there is a new calllog entry...
I know I can use a timer which is reading all the time the callog, but
that's not really a good solution...'
Thanks
Sven Tag: Call Function Tag: 124737
handling menus on reminder
I'm developing an application in which I will keep on monitering the
appoinment reminders.
Let me know how to inform to my application, if the user selects "Dismiss or
Snooze" option in the reminder notification balloon?
--
Thanks,
Shankar B. Tag: Call Function Tag: 124735
how to reset timer for "Home Screen Timeout"
In PPC/SP, I can use "SystemIdleTimerReset" to ignore timeout setting in
"Power Manager" , but it not works for timeout setting in "Home Screen" .
Are there other APIs for that ???
any suggestion is appreciated
Y.C. Wu Tag: Call Function Tag: 124731
Query on Notification balloon.
Hi,
Let me know how to notify to my application if the user selects "Dismiss" or
"Snooze" menu options in the appoinment reaminder balloon?
Thanks,
Shankar B. Tag: Call Function Tag: 124729
picture notification
Hello,
I'm new to windows mobile 6.0 platform. please help me if somebody has answer
of my query.
i want to know about camera application/ driver on windows platform. Is these
are already built in part of platform. is source code for this app is open?
if not open how somebody can modify this app as per his own requirements,
like by extending some class or something.
Thankyou,.
Manish Tag: Call Function Tag: 124728
WM6 can't display tables?
Is there a known problem with WM6 IE displaying tables? I can't get it to
display multiple cells on a single row. Even if I create a really simple
page;
<html>
<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
</table>
</html>
it shows in IE as
1
2
Any ideas?
Lee. Tag: Call Function Tag: 124726
CreateFontIndirect fails
Why does this fail?
case WM_INITDIALOG:
{
LOGFONT lf;
GetObject(GetStockObject(SYSTEM_FONT), sizeof(lf), &lf);
lf.lfWeight = FW_BOLD;
g_hFont = CreateFontIndirect(&lf); // HFONT returned is NULL
...
return TRUE;
}
Lisa Tag: Call Function Tag: 124722
Disabling scrollbar in pocket pc (landscape mode)
Hello,
Is there any method through which we can disable the scrollbar for the
landscape mode in pocket pc for any windows mobile application.
My application has its own scrollbar and scrolling methods. How can i
override the default behavior?
Thanks
Nupur Tag: Call Function Tag: 124720
Please, help with setting up the IDE
I'm having a really huge headache...and I'm in hurry to start this new
project, so please...help me :-(
Situation:
I need to write a CF 2.0 based application for a device with Windows
CE 5.0; the device (and the app) has a screen resolution of 1024*768,
and it's Via Twister based.
I have:
Orcas beta 2 (I must use this)
Platform Builder 5.0
Board Support Package for the target hardware
What the hell I must do to be able to build an image and use it to
debug from VStudio 2008?
Pleaaaseee.... Tag: Call Function Tag: 124716
How to terminate outstanding CeRapiInvoke() call
Hi all,
I use RAPI to communicate to PDA in my desktop application, and
CeRapiInvoke() in particular. The application installs some components
on PDA, and at some point, when the user press Cancel, I need to
terminate outstanding call to CeRapiInvoke().
I found out that until PDA's part completes, this call is hanging. Is
there any normal way to terminate it gracefully?
BR,
Alex Tag: Call Function Tag: 124712
Call Filter
Hi everyone,
I am about to attempt to code some software for WM6 that will
block call that I don't want. Does anyone know of any code
sample site where I can get a start on this? I would like to use
EVC++ to do this, but I can use visual studio 2005 too.
I am really not even sure where to start, but I am about to try it
anyway.
TIA Tag: Call Function Tag: 124702
Windows Mobile 5.0 SDK install error
I have tried to install the Windows Mobile 5.0 and 6.0 SDK, and it
gives me an error:
"The cabinet file 'sdkfiles.cab' required for this installation is
corrupt and cannot be used. This could indicate a network error, an
error reading from the CD-ROM, or a problem with this package"
I have tried everything I can think of. Any help would be
appreciated.
Thanks,
Jon Funk Tag: Call Function Tag: 124699
access a file
hi group, with csharp, cpp or c,
what I do to specify a file within the same folder in wich my *.exe is
placed.?
I mean, my problem is with something I believe is called "relative paths",
because there is no drive name like "c:\\" in ppcs
thanks very much in advance, Carlos. Tag: Call Function Tag: 124695
Client Terminal with Serial Ports....
Hi all!
I'm looking for a remote desktop client sw for ppc 2002/2003 that
permits to use the RS232 of the iPaq PDA on the server. I will develop
an application on the server that user the serial port of the PDA
remapped...
Could anyone helps me ?
Thanks!
Eugenio ALESSI Tag: Call Function Tag: 124694
CFileDialog and GetOpen(Save)FileName
I have an MFC based application in which I wanted to replace
CFileDialog invocations by calls to GetOpenFileName or
GetSaveFileName. When I test on emulators (PPC2003 on eVC4 and
WinMobile 6 on Vis Studio 2005) everything works fine, but on devices
things are not as they should. When I use GetOpenFileName I get a file
dialog, but I get an extra title bar. This results in the file dialog
information being shifted down so that the Open and Cancel buttons are
partially hidden by soft keyboard. By extra title bar I mean that
there is dialog title on the task bar, but also there is another
dialog title in a blue band just below taskbar. So far I have not
found any way to get rid of it. Can anyone point me at the right
solution?
Thanks,
Henryk Birecki Tag: Call Function Tag: 124692
Disabling the homekey
Hi does anybody know how to disable the homekey on smartphone?
I'm using vs 2005 and smartphone 2003 and WM5.0. I have tried capturing the
key using RegisterHotKey (as suggested by people to solve this problem)
which captures the other soft keys just fine. However for the home key it
appears to miss the keydown key press so that home key continues to go to
the home screen. I have seen comment about using GX.DLL but I cannot find an
example... has anybody any examples?
The reason I need to stop the home key is that phone is not being used as
phone but to run a dedicated application. Tag: Call Function Tag: 124691
Control Panel Applet title bar
Hi,
All Control Panel setting windows have same layout:
- Title is "Settings"
- Name of applet is written under it in color matching theme.
- A line is drawn.
- The application (Dialog) is not displayed under running applications
(Start > Settings > tab System > Memory > Running Programs).
Questions:
1. Is there some reusable layout available to create control panel dialogs?
(I am simply calling DialogBox() function).
2. The color of (sub) title, which color does it match? Is it a system color
or theme color? How do I get this color? GetSysColor or send message to
today screen (HWND == NULL) ?
3. How do I keep dialog bar title "Settings" from being displayed under
Running Programs? Parent window should be invisible? Should it be settings
window? If so, how do I find that window?
Lisa Tag: Call Function Tag: 124690
Light weight grid control for PPC
Has anyone used a good grid control for Pocket PC that could be used from
C++ / MFC? Thanks.
Timothy Dean Tag: Call Function Tag: 124687
Custom USB device driver
Hello List,
I want to develop a USB device driver for a Windows Mobile 5 device.
As far as I know I have to buy the Platform Builder to be able to create
such a driver. Since I just want to develop a single device driver and not
a whole device I don't want to buy the Platform Builder, so my questions
is: Is there another option?
Regards,
Sebastian Tag: Call Function Tag: 124685
Newbie help: "Already installed" window on Intermec CN2B Pocket PC
Hi all,
I'm developing an application in .NET 2005 for the Intermec CN2B Pocket PC,
but during a cold boot the installation hangs due to an "already installed"
window. I'd like to avoid this request and automatically reinstall my CAB
files. There is any way to do that? I put the CAB files in the "\flash file
store\persistent copy\cabfiles" directory.
Thank in advance.
--
Marco Tag: Call Function Tag: 124682
font size in wm6
I want to increase the font size in contacts and text messaging. I realise
that this will need changes to the Registry and have downloaded an editing
tool from Spb, but what values do I have to change to achieve the desired
results?
--
ricckyb Tag: Call Function Tag: 124665
How to Kill sms received notification?
Hi,
I´m trying to kill by code the notification popup bubble that is shown when
we receive a new sms message, just inmediatly when it appears.
Is it possible ??
Thanks,
Shankar Balasubramanian Tag: Call Function Tag: 124652
Issue with ceappmgr.exe
Hi
I create dynamically an .inf file, build the concerning cab, embed that cab
in the resource of a dynamically compiled Setup.exe. When running the setup
.exe it writes the ceappmgr.exe inf file, extracts the cab and runs
ceappmgr.exe to install the cab.
So far so good, this works fine as long as I extract the cab and write the
inf file into a subfolder of Active Sync as is the 'best practice' . But if I
extract the cab to another directory, invoking ceappmagr.exe throws an error:
"Cannot install application because of an error in the setup file".
Does anybody have an idea how to solve this issue ?
Thanks
Alex Tag: Call Function Tag: 124649
Printing using CF 2.0
Hello,
I would like to print invoices from a PPC in a program made in C# on a
wireless printer.
Any SDK or library for this ?
Thanks
John Tag: Call Function Tag: 124646
FindFirstDevice issue -- very weird
I met some very very weird issue using FindFirstDevice. I'm using Visual
Studio 2005 and WM5 PPC SDK
Following code works fine (either in emulator or real device -- imate JAQ3):
int _tmain(int argc, _TCHAR* argv[])
{
WCHAR * searchName= L"";
::DEVMGR_DEVICE_INFORMATION pdi;
HANDLE
h=::FindFirstDevice(DeviceSearchType::DeviceSearchByDeviceName,searchName,&pdi);
return 0;
}
but , if we call "FindFirstDevice" in a function not main, it won't work
(neither emulator nor real device work):
like following code, it would return -1.
void foo()
{
WCHAR * searchName= L"";
::DEVMGR_DEVICE_INFORMATION pdi;
HANDLE
h=::FindFirstDevice(DeviceSearchType::DeviceSearchByDeviceName,searchName,&pdi);
}
int _tmain(int argc, _TCHAR* argv[])
{
foo();
return 0;
}
Or even we just call a memset to set pdi to 0 , it won't work
int _tmain(int argc, _TCHAR* argv[])
{
WCHAR * searchName= L"";
::DEVMGR_DEVICE_INFORMATION pdi;
memset(&pdi,0,sizeof(DEVMGR_DEVICE_INFORMATION));
HANDLE
h=::FindFirstDevice(DeviceSearchType::DeviceSearchByDeviceName,searchName,&pdi);
return 0;
}
I"m pretty sure there must be something wrong with the implementation of
this function -- sounds it rely on some random memory. Tag: Call Function Tag: 124643
Newbie - Software requirements
As a newbie, what software do I need to develope a mobile application for
WM5?
These are what I got:
VS 2005
SQL Server 2005
Dell Axim x51v (Windows Mobile 5)
Do I need to download other SDK,...etc? Tag: Call Function Tag: 124641
zlib OpennetCF question
Hello
I'm using this code:
Dim inf As Stream = New System.IO.FileStream("\My
Documents\test.txt", FileMode.Open)
Dim outf As Stream = File.Create("\My Documents\test.zip")
zlibCE.Deflate(inf, outf, 5)
inf.Close()
outf.Close()
That is working. But I have now no file, but a String which I want to
compress. So I tried this:
Dim c As String = "TestingTestingTesting"
Dim tocompress() As Byte = System.Text.Encoding.Default.GetBytes(c)
Dim inf As Stream = New MemoryStream()
inf.Write(tocompress, 0, tocompress.Length)
Dim outf As Stream = File.Create("\My Documents\test.jj")
zlibCE.Deflate(inf, outf, 5)
inf.Close()
outf.Close()
So I convert to String to a Byte(), then I create a new MemoryStream, then I
write the Byte to to MemoryStream.
After that I am Deflating normally...
But its not working?
What's Wrong?
Thanks
Sven Tag: Call Function Tag: 124637
How to catch button press in Notification message?
SHNotificationAdd takes message as HTML.
SHNOTIFICATIONDATA sn = {0};
sn.pszHTML = TEXT("<input type=\"button\" name=\"button1\" value=\"press
me\" />");
How can I catch button or hyperlink event being tapped?
Lisa Tag: Call Function Tag: 124627
ANN: October Coding Competition: Got Game?
Every month OpenNETCF hosts a coding competition for Mobile & Embedded
developers. At the end of the month, a panel of judges will decide which
entry was the best and we'll award the author of that entry a prize.
October's Theme: Got Game?
You're daily commute on public transport is, as usual, dull, dull and even
more dull. You're tired of counting how many people on the train have iPods.
You only wish you had some awesome games to play on your fantastic Windows
Mobile device... So why not write one? It could be an old classic like Space
Invaders or a mind-bending puzzle like Sudoku. The choice is entirely up to
you! Flex your game developing muscles and show us some awesome graphics and
gameplay!
NOTE: This is *not* limited to managed code developers. If you have a game
written in C/C++ then by all means, submit it!
October's Prizes:
This month we're giving away prizes to the overall winner as well as 2nd
place and 3 lucky runner-up places. We have a copy of Visual Studio 2005
Professional, and Aliph Jawbone bluetooth headset and some OpenNETCF
t-shirts.
For more information on the rules and how to enter, visit
http://community.opennetcf.com, click on Coding Competition in the menu and
take a look at the details.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com Tag: Call Function Tag: 124622
GXDisplayProperties question
Since GAPI is no longer supported by WM6 I am converting everything to
DirectDraw.
I have in my original program:
GXDisplayProperties g_gxdp;
if (g_gxdp.ffFormat | kfDirect565)
{
//blah blah
}
else if (g_gxdp.ffFormat | kfDirect555)
{
//blah blah
}
I wish to know what is the equivalent of g_gxdp.ffFormat?
I am using a DD surface like so:
LPDIRECTDRAWSURFACE g_pDDSPrimary; // DirectDraw primary surface
DDSURFACEDESC ddsd;
g_pDDSPrimary->Lock(0,&ddsd,8,0);
I think it may be ddsd.ddpfPixelFormat or someting but when I step through
and compare g_gxdp.ffFormat to values in ddsd.ddpfPixelFormat I cant find any
obvious values that are are 'identical'.
Thanks for any help.
Harry Tag: Call Function Tag: 124619
SHNotificationAdd / SHNotificationRemove
Hi,
I'm having problems using SHNotificationAdd & SHNotificationRemove below.
Can someone tell answer the following questions?
1. If I call ShowNotification and RemoveNotification, will I have memory
leaks?
SHNotificationAdd is passed szMessage, which is local variable and will be
destroyed at end of function.
So, do I have to save the string buffer or does SHNotificationAdd COPY this
to some internal buffer?
If not, I must free this buffer myself after the call to
SHNotioficationRemove ?
2. The icon is displayed in title bar. I read that it is a bitmask, so my
icon is only black on transparent background.
But still this icon is shown as black in title bar, and not in the color
that is set by theme for iconbar.
How can I make it use theme colors?
Lisa
#define NOTIFICATION_ID 1
BOOL RemoveNotification()
{
if (!SUCCEEDED(SHNotificationRemove(&CLSID_SHNAPI_OemNotif3,
NOTIFICATION_ID))) {
OutputDebugString(_T("ERROR: SHNotificationRemove"));
return FALSE;
}
return TRUE;
}
BOOL ShowNotification(HINSTANCE hInstance, UINT nStringID)
{
TCHAR szMessage[MAX_LOADSTRING];
if (0 == LoadString(hInstance, nStringID, szMessage,
sizeof(szMsg)/sizeof(szMsg[0]))) {
return FALSE;
}
SHNOTIFICATIONDATA sn = {0};
sn.cbStruct = sizeof(sn);
sn.dwID = NOTIFICATION_ID;
sn.npPriority = SHNP_INFORM;
sn.csDuration = 5;
sn.hicon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON));
sn.grfFlags = SHNF_FORCEMESSAGE;
sn.clsid = CLSID_SHNAPI_OemNotif3;
sn.pszTitle = _T("Notofication");
sn.pszHTML = szMessage;
if (SUCCEEDED(SHNotificationAdd(&sn))) {
return FALSE;
}
return TRUE;
} Tag: Call Function Tag: 124616
Balloon Notification Blocker?
My query is
While running my windows 6.0 Mobile application I want to disable all the
bubble notifications (Like SMs,MMS) to the user. Is there any windows API
function(s) available to handle this?
Currently I am chaing the registry setting value(mentioned below) from 1 to
0.
But it requires are device reboot on every time to get active the changes.
HKCU\Software\Microsoft\Inbox\Settings\SMSAvailable = 0
--
Thanks,
Shankar B. Tag: Call Function Tag: 124612
IP Address of the activesync PC
Hi,
I have a windows mobile 6 device connected to desktop thru activesync. Now
how can i get the IP address of the desktop PC inside my windows mobile
device programmatically. My intention is to make my desktop as winsock server
and the mobile device as the client.
I am able to get the IP address of the device from desktop thru active sync
APIs.
Thanks Tag: Call Function Tag: 124611
CE 5 Emulator: Which .NET CF 2?
Hello
I want to run a CE 5 CF 2 application.
As the CE 5 Emulator (Standard) only has CF 1 installed, I'm trying to
install CF 2. Which package do I have to install? ARM, MIPS or X86?
I've tried to install the X86 and I could start my app, but using
system.drawing.bitmap.Save(....), I get a NotSupportedException...
think CF 2 is not correctly installed, although the device says that it's
installed...
Thanks
Sven Tag: Call Function Tag: 124607
When/What to expect Connection Manager Status updates
If I am application using the Connection Manager framework in Windows
Mobile 6 to establish a data connection, what can I expect for the
following scenarios...
...when my network loses service....does the Connection Manager just
return CONNMGR_STATUS_WAITINGFORPATH? Is the app just supposed to wait
until it receives CONNMGR_STATUS_CONNECTED?
...when a voice phone call is initiated during an active data
connection on a non suspend-resume capable connection (i.e.
CDMA)....does the Connection Manager just return
CONNMGR_STATUS_DISCONNECTED? or CONNMGR_STATUS_WAITINGFORPHONE? same
as above, does the app need to just wait for CONNMGR_STATUS_CONNECTED?
...when a voice phone call is initiated during an active data
connection on a suspend-resume capable connection, but the application
is not suspend-resume aware?....I believe this is
CONNMGR_STATUS_DISCONNECT.
If this is all listed in the Windows Mobile 6 Documentation, and I'm
missing the obvious, I apologize. I'm a new developer to this
framework.
Thanks,
Joe Tag: Call Function Tag: 124606
pocket IE question
Can someone tell me if the pocket IE will auto resize my
dropdownlist??
I have 3 dropdown list with the same size, but when I open in the
pocket IE, it seems it will auto resize, according to the size of the
text is displaying...
Cheers
C Tag: Call Function Tag: 124605
BaseHue And Theme's
I'm creating a little proggy (As You do). And I would like to use the current
theme colour selected. (BaseHue)
Does any body have any code to change the BaseHue value stored in the
registry to RGB value. Tag: Call Function Tag: 124603
Custom LAP
I'm creating a custom LAP for WM 5 and WM 6 devices. What do I need to do to
have
the device wipe itself after a certain number of failed attempts from the
user trying to enter their password?
Thanks. Tag: Call Function Tag: 124601
Compressing wav files
I need to compress wav files before sending them from the device.
I am recording using the Waveform Audio API and was intending compressing
using the ACM API.
However some of the functions I would use on desktop client for processing
WAV files appear to be missing (mmioOpen, mmioClose etc) from the Windows
Mobile 5 /6 SDK.
What is the recommended method of using ACM functionality on the Mobile
platform ? Tag: Call Function Tag: 124600
DDX support
Hi, I am starting a new project for PocketPC using MFC.
Does one need to use the DDX|\DDV functions. I usually use Win32
but this project i have been told to use MFC. I usually use the GetDlgitem
SetDlgItem etc to setup things in OnInitDialog so am a bit confused with
this
DDX stuff. Can some please clarify.
Many thanks Tag: Call Function Tag: 124597
Panel Control without Border
Hi,
just to check how to i include my own paint method to draw border for my
panel control?
cos i dun see the BorderStyle Property in .net cf panel control..
Pls assist and advise.
thanks
--
Johnson Tag: Call Function Tag: 124590
WZCQueryInterface not returning results for INTF_PREFLIST
On newer WM5 devices and all WM6 devices (that I could tell), calling:
DWORD dwStatus = WZCQueryInterface(NULL, INTF_PREFLIST, &Intf, &dwOutFlags);
returns an ERROR_SUCCESS but the dwOutFlags are always 0 and no data is
returned. Setting the preferred list seems to always succeed but it has the
effect of clobbering all of the profiles since you can't get the original
list prior.
Is there a solution to this? It's a big problem that doesn't allow for a
good user experience.
Many thanks,
Charlie Tag: Call Function Tag: 124587
ICONBAR icon color
Hi,
I'm having some difficulty with creating toast notifications.
I would like a toast with left soft key having default Notification/Hide and
right soft key "Dismiss".
I also want to have a button or hyperlink inside my toast message that let's
me catch a tap on it it as WM_COMMAND or some other way.
Can someone give me sample code for the above scenario?
Finally, icon bar icons are usually white, but can be any color as defined
by the today screen colors. How can I do this?
I can provide only handle to single icon.. should it be black?
Lisa Tag: Call Function Tag: 124585
What functions do I need to look at when a call is coming in so I can
intercept
the call?
You can try 'SystemState' class under 'Microsoft.WindowsMobile.Status'
namespace.
Kenn Zhang
"Rob Stevens" <robbstephens@sundry.com> дÈëÏûÏ¢
news:uv4SR6sCIHA.5044@TK2MSFTNGP03.phx.gbl...
> What functions do I need to look at when a call is coming in so I can
> intercept
> the call?
>
>
> Thanks
>