|
Rassul Yunussov wrote:
And i want programmatically select any item (With highlighting), so how to do it?
yourlistctrl.SetItemState(i, LVIS_SELECTED, LVIS_SELECTED);
You may have de-select previously selected items, just pass 0 as the second argument to SetItemState in that case.
Rassul Yunussov wrote:
And i use virtual list - does it metter?
Not with setting the selection state.
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
Thank you, i selected the item i need.
But when my Item is out of window, and i want it to be shown? What to do in that case? For example i got 1000 elements, and my list shows only 20 items, but item i found is 720. I want my listctrl jumped on this item.
|
|
|
|
|
Rassul Yunussov wrote:
I want my listctrl jumped on this item
use CListCtrl::EnsureVisible or CListCtrl::Scroll to make sure the listctrl is showing your item.
More information can be found on MSDN.
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
hi,
how do i launch pocket word / excel in C#?
thanks
|
|
|
|
|
Hi,
I'm trying to create a project using multiple document templates on a windows CE target. Starting my application the menu line is missing. Why ?
|
|
|
|
|
hi,when I run my application i keep having this error:
Error trying to run your project : Unable to start debugging.
but it Build and Deployed succesfuly........whats going on here?!
And I can't run my application directly to my device, it always says that the device is not connected, but it is!!!!
And how can i make my form resize everytime i push the input pannel (keyboard) like what the calendar application can do?! thanks guyz, im kinda new to this!!
|
|
|
|
|
hi,
Tell me which enulator you are using.
Is it ' Openwave '.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Im using the ones from microsoft
|
|
|
|
|
i have a coldfusion based (SQL Server) website and am looking to develop a mobile (smartphone/pda) application that will be used to periodically update the live site and pull info back form the site. I am trying to get my head around where to begin..ASP.NET, VB.NET, other...
Any advice or pointers hugely appreciated!
many thanks
|
|
|
|
|
hi
Have anyone ever tried to use Windows Mobile Developer Power Toys to connect emulator with activesync?
I have tried to connect to activesync but an error occurs. An core communication error prompt me.
why?
Thanks
|
|
|
|
|
What emulator are you using?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
pocket pc 2003 emulator in vs. net 2003
|
|
|
|
|
|
Using ActiveSync Over Virtual Switch
1. Configure the emulator to use Virtual Switch. For more information, see Changing Ethernet Support in the Emulator.
To config the emulator, eVC++ is needed to use. However, I would like to using the emulator that the opened from VS .NET 2003. The .NET cannot cannot communicate with an emulator which is opened with eVC++.
Thanks
|
|
|
|
|
Hi all,
I have a Pocket PC Project which works fine on the emulator. I have connected a Pocket PC device and it connects fine using ActiveSync. However, when I try to deploy my application onto the device I am unable to establish a connection although ActiveSync has succesfully synchronised.
This is my first Pocket PC application and I'm sure this is something simple. Any help or pointers will be greatly appreciated.
Many thanks in advance.
|
|
|
|
|
are you working with Embedded visual c++4?
try to change the destination from emulator to device.
|
|
|
|
|
I built a simple project using evc4.0 under STANDARDSDK_420(WINCE emulator) with codes:
BOOL CEx1App::InitInstance()
{
CPropertySheet allcontrolssheet(_T("Ex1"));
CPage1 p1,p2,p3;
allcontrolssheet.AddPage(&p1);
allcontrolssheet.AddPage(&p2);
allcontrolssheet.AddPage(&p3);
allcontrolssheet.DoModal();
return FALSE;
}
ex1.exe - 0 error(s), 0 warning(s.
But it can't run in CPropertySheet::DoModal()
Anybody help me??
Thanks.
|
|
|
|
|
|
Page1 is:
class CPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage1)
// Construction
public:
CPage1();
~CPage1();
// Dialog Data
//{{AFX_DATA(CPage1)
enum { IDD = IDD_PAGE1 };
// NOTE - ClassWizard will add data members here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage1)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
Thanks
|
|
|
|
|
Does IDD_PAGE1 have any controls? If it does, does it have a date time picker?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
IDD_PAGE1 is only a simple Dialog without any control.
Thanks
|
|
|
|
|
Hi I am coming up with a image conversion tool for the pocket PC and smartphone. SOme of the authors have came up with really cool applications for windows. Is there anyway I can do it for pocket pc?
Regards,
Wes
|
|
|
|
|
hi,
i'm tring to set up a Bluetooth connection between 2 PDA's,
and i want to use WSALookupServiceBegin(),WSALookupServiceNext() and
WSALookupServiceEnd() functions,but after i've included the "Winsock2.h"
and added the "Ws2.lib" to the project,i allways get these messages:
TexampleDlg.obj : error LNK2019: unresolved external symbol "int __cdecl WSALookupServiceEnd(void *)" (?WSALookupServiceEnd@@YAHPAX@Z) referenced in function "unsigned int __cdecl GetMessages(void *)" (?GetMessages@@YAIPAX@Z)
ARMV4Rel/BTexample.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
BTexample.exe - 4 error(s), 0 warning(s)
(i get the same error for the 3 functions).
can someone help me?
one more question : do i have to write the full path of the required library?
for example - the "Ws2.lib" full path is "D:\Lib\Armv4\Ws2.lib" and i wrote
this path,but i keep getting these errors/
please help me!!!!!
thanks,eli
|
|
|
|
|
Hi Everybody,
I have created the application for slideshow functionality. In this application whenever the user presses the "Play" button, it displays the sequence of bitmaps and jpeg files in the view. The "Play" function works well without thread. But if we implement the "Play" functionality with thread, it crashes the application when accessing the CPaintDC.
We go for thread, b'cos the slideshow must be interrupted in middle.
We want to know about is there any restrictions on threads accessing DC or is there any other way to solve this.
Thanks and Regards,
Rajesh Prabhu. R
|
|
|
|
|
hi,
one soltn may be the following,
threads can use only global members (variables). so u declare global variable for cview and Cframewnd and assign as following , if u want to
use any screen control within the thread
framewndobj = (CFrameWnd *) AfxGetMainWnd();
viewobj = framewndobj ->GetActiveView ();
control = viewobj->method to access the control needed
even it it is cpaintdc obj u declare the variable of cpaintdc as a global variable beore using it in a thread
it won't crash then i think
|
|
|
|