|
Good luck!
|
|
|
|
|
Well, one clean XP installation later, and it installed flawlessly.
<sigh>
Thanks for your help, anyway!
________________________
http://www.webreaper.net
|
|
|
|
|
What is these terms ?
-Palm/Palm size
-PocketPC
-Handheld
-WindowsCE
I don't know clearly about it. Explain me !
=======================
Nothing is perfect
|
|
|
|
|
Here's my take at it:
Windows CE - The underlying operating system.
PocketPC - Windows CE 3.0 with special specs.
Handheld - Windows CE 2.1 (I believe) in clamshell landscape shape.
Palm size - Older version of PocketPC-sized devices, WinCE 2.1 (?)
Palm - That's another story...
|
|
|
|
|
I wonder if SetCursor() work in CE 3.0 ?
Nothing is prefect
|
|
|
|
|
Why would you want to do it?
|
|
|
|
|
I want my mouse cursor turns HAND-icon when I drag mouse over a region.
=======================
Nothing is perfect
|
|
|
|
|
You want to use a mouse cursor on Pocket PC?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Hi,
Does anybody know if there is a MIDI library (APIs) under Windows CE.
I am looking for the APIs to send and recieve system execlusive messages.
Thanks for any reply .
Regards,
Napoleon
|
|
|
|
|
Check the wfmtmidi.h header file. If you have the PPC2002 SDK and help file, check out the entry for the WAVEFORMAT_MIDI_MESSAGE structure.
|
|
|
|
|
Hi,
I have a problema . How can a get programtically (with visual c++3.0) the identifier of a pda, uui o guid? Does it exits?, is unique for each PDA?
Thanks
|
|
|
|
|
|
Thanks, it works¡
|
|
|
|
|
Hi !
I have a problem ... i have written a program that communicates with IR - serial communication with my pocket pc and my mobile phone. I used for that a part of the little tty-codesample, which you can find in the help of the Visual C++ tools of Microsoft. I changed there some communication options and it worked. But now i want to use that serial communication with bluetooth. Could that work? And one thing is, that i don't know exactly, how i have to setup the settings for that communication (serial). My current setup is like that:
PortDCB.BaudRate = CBR_9600;
PortDCB.fBinary = TRUE;
PortDCB.fParity = TRUE;
PortDCB.fOutxCtsFlow = FALSE;
PortDCB.fOutxDsrFlow = FALSE;
PortDCB.fDtrControl = DTR_CONTROL_ENABLE;
PortDCB.fDsrSensitivity = FALSE;
PortDCB.fTXContinueOnXoff = TRUE;
PortDCB.fOutX = FALSE;
PortDCB.fInX = FALSE;
PortDCB.fErrorChar = FALSE;
PortDCB.fNull = FALSE;
PortDCB.fRtsControl = RTS_CONTROL_ENABLE;
PortDCB.fAbortOnError = FALSE;
PortDCB.ByteSize = 8;
PortDCB.Parity = NOPARITY;
PortDCB.StopBits = ONESTOPBIT;
and:
CommTimeouts.ReadIntervalTimeout = MAXDWORD;
CommTimeouts.ReadTotalTimeoutMultiplier = 0;
CommTimeouts.ReadTotalTimeoutConstant = 0;
CommTimeouts.WriteTotalTimeoutMultiplier = 10;
CommTimeouts.WriteTotalTimeoutConstant = 1000;
That worked for the IR-communication, but not for bluetooth.
Would be very fine, if someone knows a trick to setup for bluetooth communication !!!
Greetings,
Frank
_____ easySMS for pocket PC _____
www.Siedler-Net.de/WinCE/easySMS/
|
|
|
|
|
Hi,
how is that "Button-bar" (#ab|cde|...|xyz) at the top of the CE-addressbook programmed? That would interest me, because it's fine for scrolling in a listbox.
Greetings,
Frank
_____ easySMS for pocket PC _____
www.Siedler-Net.de/WinCE/easySMS/
|
|
|
|
|
|
Yep, that looks good!! But how can i run that codesample with my Embedded Visual C++ ? Therefor a Project is needed!?
Greetings,
Frank
_____ easySMS for pocket PC _____
www.Siedler-Net.de/WinCE/easySMS/
|
|
|
|
|
Right. Do this:
In your CChildWnd, declare the following:
protected:
CLetterStrip m_wndStrip;
In the OnCreate handler, create the window. To place it on the top, just like the image on the article, use the following:
DWORD dwStyle = WS_CHILD | WS_VISIBLE;
m_wndStrip.Create(dwStyle, CPoint(0, 0), this, ID_LETTERSTRIP);
To handle the letter commands, use the following message map:
BEGIN_MESSAGE_MAP(CChildView, CWnd))
...
ON_COMMAND(ID_LETTERSTRIP, OnLetterStrip)
...
END_MESSAGE_MAP()
In the OnLetterStrip method, use m_wndStrip.GetOption() to retrieve the selected letter. Note that the letter strip is created as a child window, not as a toolbar.
|
|
|
|
|
Hey all,
In the near future I'm going to be developing a WinCE.NET driver for a particular piece of hardware that my company makes. As I've never really done anything like this before, I'm looking for as much information as possible on the topic. I've gone through the MSDN site and read all the relevant articles, but I was wondering if there was another source of [good] information about WinCE driver development on the web. Some example code would be a huge help too! Thanks!
-Mike Zinni
"No sh*t it's tough. If it wasn't, everybody and their sister would be an engineer and then you wouldn't have a job."
|
|
|
|
|
Hi All,
Any one is developing application using oracle lite(wireless editon) or Sql Server CE? If so,please guide me.
I wanted to create always connected application using oracle light.
Since it's a always connected thin client I want to push/pull data without using active sync mechanism while user on the move..
Is it psossible to develop application for pocket pc which supports GSM/GPRS connectivity?
If so please provide more information in detail.
Thanks in advance,
Siva
|
|
|
|
|
You do understand that this is no small request? It envolves a lot of stuff that cannot be dealt with in a single reply.
AKSIVAKUMAR wrote:
Is it psossible to develop application for pocket pc which supports GSM/GPRS connectivity?
Yes. First, you have to set up the connection in the system (bluetooth, IRDA or other). After being set up, you have to use the RAS interface. This will set up a TCP/IP connection over which you can run the sync processes. I did this with SQL CE 1.1 and it worked perfectly.
|
|
|
|
|
Hi,
Yes I understood that its very hard to discuss all these stuff in a single reply.
I want to send and receive data packet via RAS.
I don't know how to deal with this ? Can you please give details about this?If you have any sample application please let me know and will be helpful for me.
Thanks in advance.
Siva
|
|
|
|
|
Siva,
You don't send anything explicitly through RAS. Instead, you use RAS to set up a TCP/IP connection over which your data packects will be sent and received. Think of RAS as connecting your PDA to a TCP/IP network. When your RAS connection is active, you can use HTTP, FTP or other protocol to exchange data. Handling RAS itself is not very complex, and involves the use of the RAS* APIs and the WM_RASDIALEVENT message. This message is used as a notifier to a specific window to help monitor RAS dialing events. If you are using MFC, handle it like this:
LRESULT CDlgRas::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
if(message == WM_RASDIALEVENT)
{
return OnRasDialEvent(wParam, lParam);
}
return CDialog::WindowProc(message, wParam, lParam);
}
Here is an outline of the sequence to dial through a RAS connection:
RasEnumConnections checks if there are any open RAS connections (you can only have one). If there is a connection open, check if it is the one you want with RasGetConnectStatus . To open the RAS connection, use RasGetDialParams , followed by RasDial . In this API, use the window that will receive the WM_RASDIALEVENT messages. To close the RAS connection, use RasHangUp .
If you want to read some serious discussion on how RAS works under Windows CE 3.0, read "Windows CE 3.0 Application Programming" by Nick Grattan and Marshall Brain, from Prentice Hall.
Good luck!
|
|
|
|
|
How does one implement muiltiple toolbars?
Our app starts out with a commandbar (menu + buttons), but depending on what the user does in the menu, we want to display another toolbar (or even better, a commandbar with just buttons that replaces the original one until they're done with the new toolbar).
Does anyone have any hints they'd like to share?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
The project I'm working on right now has a similar functionality. I supports the normal command bar, plus a toolbar at the top of the screen. Here is the code I've used:
Header for frame:
.
.
.
protected:
CCeCommandBar m_wndCommandBar;
CChildView m_wndView;
CToolBar m_tbDummy;
.
.
.
Implementarion of frame:
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndView.Create(NULL, NULL, AFX_WS_DEFAULT_VIEW,
CRect(0, 0, 0, 0), this, AFX_IDW_PANE_FIRST, NULL))
{
TRACE0("Failed to create view window\n");
return -1;
}
m_wndCommandBar.m_bShowSharedNewButton = FALSE;
m_ToolTipsTable[0] = MakeString(IDS_NEW);
m_ToolTipsTable[1] = MakeString(IDS_FILE);
m_ToolTipsTable[2] = MakeString(IDS_MHELP);
m_ToolTipsTable[3] = MakeString(IDS_CUT);
m_ToolTipsTable[4] = MakeString(IDS_COPY);
m_ToolTipsTable[5] = MakeString(IDS_PASTE);
m_ToolTipsTable[6] = MakeString(IDS_ABOUT);
if(!m_wndCommandBar.Create(this) ||
!m_wndCommandBar.InsertMenuBar(IDR_MAINFRAME) ||
!m_wndCommandBar.AddAdornments() ||
!m_wndCommandBar.LoadToolBar(IDR_MAINFRAME) ||
!m_wndCommandBar.SendMessage(TB_SETTOOLTIPS, (WPARAM)(6), (LPARAM)(&m_ToolTipsTable[1])))
{
TRACE0("Failed to create CommandBar\n");
return -1;
}
m_wndCommandBar.SetBarStyle(m_wndCommandBar.GetBarStyle() |
CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_FIXED);
if(!m_tbDummy.Create(this, WS_CHILD | WS_VISIBLE | CBRS_TOP) || !m_tbDummy.LoadToolBar(IDR_DUMMY))
{
AfxMessageBox(_T("Failed to create dummy!"));
return -1;
}
m_tbDummy.SetHeight(20);
return 0;
}
Cheers.
|
|
|
|