|
Check my reply on PPCDN. Also, check the target CPU.
|
|
|
|
|
Hi,
How can I make CHRIS MAUNDER Grid control(gridctrl_demo224) as ActiveX drag & drop control and also I want to bind with the Pocket Access Data base for H/PC devices.
But I can be able to bind with the given database using ADOCE componenet and I can be able to update the table data from the specified database.
Actually I need to make it as a ActiveX control
Any ideas from any one ???
Thanks,
Siva
|
|
|
|
|
Hi,
How can I make CHRIS MAUNDER Grid control(gridctrl_demo224) as ActiveX drag & drop control and also I want to bind with the Pocket Access Data base for H/PC devices.
But I can be able to bind with the given database using ADOCE componenet and I can be able to update the table data from the specified database.
Actually I need to make it as a ActiveX control
Any ideas from any one ???
Thanks,
Siva
|
|
|
|
|
Hi,
How can I make CHRIS MAUNDER Grid control(gridctrl_demo224) as ActiveX drag & drop control and also I want to bind with the Pocket Access Data base for H/PC devices.
But I can be able to bind with the given database using ADOCE componenet and I can be able to update the table data from the specified database.
Actually I need to make it as a ActiveX control
Any ideas from any one ???
Thanks,
Siva
|
|
|
|
|
What is the easiest way to associate a program app w/an icon? I've seen the MSDN website explaination, but it didn't work and the steps seemed really complicated. Does anyone know of any other methods that work? Thanks.
|
|
|
|
|
|
hi,
any one having idea about how to detect particular keys in the keyboard.????
i posted the same questions so many times but no response
any idea...
thanks
siva
|
|
|
|
|
When I use the DesktoptoDevice Api to convert an MDB to CDB. I don't see any progress bars showing the conversion. If I do it manually by going to tools->import database I do see the transfer status. I'm using evc++.
Can anyone help me out.
Thanks
|
|
|
|
|
Hi,
Is there a way to manilupate the power setting of the PDA (Ipaq or HP Jornada) progrmatically.
Like i want the device to NOT go in suspend mode even after 5 mins when it is on battery power(the control panel only allows it till 5mins.). The reason is my app sometimes takes more than 5 mins to load depending on the size of the database and if the device suspends, the loading process is stopped and then resumes again only when the user wakes the device up. This makes the loading process very long at times.
thanks
Vs
|
|
|
|
|
Hi,
You can use either
::keybd_event(VK_F24, 0, KEYEVENTF_KEYUP | KEYEVENTF_SILENT, 0)
or
SystemIdleTimerReset()
or both.
I'd suggest that you use them with a timer, or if that's not possible, sprinkled here and there in your 'loading process'.
I normally use those in combination with GetSystemPowerStatusEx so I can allow the device to suspend if it's running low on power. I've noticed that my users dont like it when their PDA's hard reset due to no power
Jonas
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
I am unable to disable a second level menu item.
I have a Tools popup menu on my menubar that contains two items and a popup item that also contains two menu items. It looks like this:
Tools
|--- Item1
|--- Item2
|---- SubItem1
|---- SubItem2
I used ClassWizard to add the usual ON_UPDATE_COMMAND_UI functions. In the appropriate function, I can use "pCmdUI->Enable(FALSE)" to disable "Item", but I can't disable "SubItem1" and "SubItem2". Matter of fact, the functions that ClassWizard generated for my two sub menu items are never even called. I have breakpoints on both these function and they are never even hit.
This bug occurs on both my emulator and on my Compaq iPaq (arm processor). I created the project with AppWizard and am using a "Basic MenuBar".
Any ideas? Can anyone else disable a submenu item?
[edit] Forgot to mention that this is for PocketPC 2002. [/edit]
------- 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
|
|
|
|
|
I did some research on this and found the following (file winfrm.cpp, line 1607 of the MFC sources):
if (state.m_nID == (UINT)-1)
{
state.m_pSubMenu = pMenu->GetSubMenu(state.m_nIndex);
if (state.m_pSubMenu == NULL ||
(state.m_nID = state.m_pSubMenu->GetMenuItemID(0)) == 0 ||
state.m_nID == (UINT)-1)
{
continue;
}
state.DoUpdate(this, FALSE);
}
else
{
state.m_pSubMenu = NULL;
state.DoUpdate(this, m_bAutoMenuEnable && state.m_nID < 0xF000);
}
This seems to imply that MFC does not allow that.
|
|
|
|
|
He doesn't want to disable a popup menu, he want's disable one of the items in it.
ClassWizard allowed him to create OnUpdate handlers for the subitems, but that code isn't being called at all.
------- 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
|
|
|
|
|
After reporting this issue to Microsoft's tech support, they acknowledged that this was a bug in Pocket PC 2002.
|
|
|
|
|
When we shut our app down, it stays in memory. This is a pain because while we're using the emulator, we have to either reset the emulator or go into settings/system/memory/running apps to shut the program down completely.
Is there a way to do this programatically from within our own app?
[edit] Forgot to mention that this is for PocketPC 2002. [/edit]
------- 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
|
|
|
|
|
Try this:
LRESULT CMainFrame::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
if (message==WM_WINDOWPOSCHANGED)
{
WINDOWPOS *pWp = (LPWINDOWPOS) lParam;
if (pWp->hwndInsertAfter != NULL)
{
TCHAR str[101];
::GetWindowText(pWp->hwndInsertAfter, str, 100);
if (wcscmp(str, _T("Desktop"))==0)
SendMessage(WM_CLOSE,0,0);
}
}
return CFrameWnd::WindowProc(message, wParam, lParam);
}
I found it on the Net... but i should say João Paulo Figueira was a great help.
Thanks!
|
|
|
|
|
Perfect! Thanks!
BTW, is this supposed to work in the emulator too? Once I shut down my app, I can't restart it without reseting the emulator.
[EDIT] Hmmm, it also does this when I use the Settings|System|Running Programs method for shutting down. [/EDIT]
[EDIT2] After shutting the app down (with this code in place), and then trying to restart the app, the title bar reads "Default IME" (and the app doesn't start). [/EDIT2]
------- 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
|
|
|
|
|
John Simmons / outlaw programmer wrote:
When we shut our app down, it stays in memory
If I understand this correctly, you are "closing" the app by using the "Smart Minimize" button (the X) instead of the OK button, eh?
Smart Minimize won't close the app, but the OK button will.
To remove the Smart Minimize (and add OK), use this:
ModifyStyle(0, WS_NONAVDONEBUTTON, SWP_NOSIZE);
SHDoneButton(m_hWnd, SHDB_SHOW);
Hopefully, this is what you're wanting.
I prefer to wear gloves when using it, but that's merely a matter of personal hygiene
[Roger Wright on VB]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
[Rich Cook]
|
|
|
|
|
That didn't change the current behavior. The app shuts down, and doesn't show as an entry in the "Running Programs" list, but when I try to restart it, all I get is "Default IME" showing up in the PocketPC title bar.
------- 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
|
|
|
|
|
That's really weird; I haven't seen anything like before.
I did a quick Google search (as I'm sure you have done too), and found some other programs out there have a similar problem.
Seems like the error is caused by the Storage Card (CF or SD).
HTH.
http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=597[^]
http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=529[^]
I prefer to wear gloves when using it, but that's merely a matter of personal hygiene
[Roger Wright on VB]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
[Rich Cook]
|
|
|
|
|
These people are all end users. I'm trying to figure out how to keep it from happening. Also, I haven't moved the app to the actual iPaq yet - I'm still working in the emulator, but from past experience, what you see in the emulator will also be seen on the actual device.
------- 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
|
|
|
|
|
|
hi all ,
i want to prcess keybord inputs in c++ application.
how to do it ?
any idea ?
suggestions are most welcome.
thanks
siva
|
|
|
|
|
I have a CPropertySheet-derived class (with no associated dialog template). In the constructor, I call AddPage() for the three CPropertyPage-derived classes (Thin/Child templates).
I've tried a number of things, but I can't seem to get any of the propertysheet buttons displayed.
What am I missing?
------- 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
|
|
|
|
|
Hi, John! Nice to see you back on the forum.
John Simmons / outlaw programmer wrote:
I've tried a number of things, but I can't seem to get any of the propertysheet buttons displayed.
To what buttons are you referring? Are these from your dialog template?
|
|
|
|