Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

illidan99

@illidan99
About
Posts
36
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Registering DLLs
    I illidan99

    if the dll can be registered in the Pocket PC , you can use the following app to do this : http://www.pocketpcdn.com/articles/regsvr.html[^] I use it in a hx4700 IPAQ and I can register dll manually. Regards, Javier

    Mobile c++ hardware help question

  • Sending a BN_CLICKED message
    I illidan99

    Hi, João . ok, I use: HWND Hbutton = GetDlgItem(ptrDlg->m_hWnd,IDOK); SendMessage (Hbutton,BM_CLICK,0,0); from my thread and it works. Another question: if I want to send it from the same dialog window (for example from other button), How can I get the handle to the button? Well, I test the following: SendDlgItemMessage(IDC_GPS,BM_CLICK, 0, 0 ); from the same dialog and it works. Thanks Regards, Javier

    Mobile help tutorial question

  • Sending a BN_CLICKED message
    I illidan99

    I try to use use PostMessage(WM_COMMAND, MAKEWPARAM(IDC_GPS, BN_CLICKED), handle>). Then I try to use "HWND GetDlgItem( int nID )" to get the button handle, but the compiler makes a error: I can use Cwnd::GetDlgItem ( ) , but not CWindow::GetDlgItem , which returns the button handle. How can I use the Window classe? Thanks. Regards, Javier

    Mobile help tutorial question

  • Sending a BN_CLICKED message
    I illidan99

    Hi, I need to send a button click message to a dialog window button from a thread. I use "PostMessage(BN_CLICKED, IDC_GPS,m_hWnd) " but I think the lparam and wparam are incorrect. I don't find an example or something else. Can anybody help me? Thank you. Regards. Regards, Javier

    Mobile help tutorial question

  • How to convert BD_ADDR to BT_ADDR?
    I illidan99

    If you have a IPAQ (uses windcom stack) then you cannot use RegisterDevice. About " WSALookupServiceBrgin()" I dont know, surely not, but you can ask in the microsoft Pocket PC 's developer: http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.pocketpc.developer[^] Yes, I use the COM8 for read and write. I saw the Bluetooth config and I saw COM5 for input too, but using COM8 both works. Simply try a sample serial com code (easy to find it, in this web there is something), using COM8 and it must work. If not, try another COM. Regards. Regards, Javier

    Mobile com tutorial question

  • Pointer to severals Dialogs
    I illidan99

    Hi, I need to have a pointer to a dialog window from a thread. I made a global pointer variable to a dialog window and it works. But Is it possible to do a pointer which can pointer to several dialogs (one at the same time)? I need to pointer to the active dialog from the thread(the active dialog window it's not the same all the time). I try "void* pointer" but doesn't work, (there'is a error in the reference to the pointer inside the thread). Regards. Regards, Javier

    Mobile help question

  • How to convert BD_ADDR to BT_ADDR?
    I illidan99

    First, you must know the bluetooth stack that your device has. RegisterDevice() is only supported by Microsoft Bluetooth stack. For example IPAQs uses Windcomm Stack and "RegisterDevice()" doesn't work. So if it's not microsoft Stack, you must buy the correct bluetooth Stack SDK for development. I made a virtual serial port without "RegisterDevice()" in my IPAQ. Simply uses the normal Open port, close port , read port and write port like it'was a normal serial port. I use the COM8 in my IPAQ hx4700 and it's works. When I open the port, appears a Window Dialog (made by the own Operative System) for choose the bluetooh device to connect. If you want to do this in your own app you must use a bluetooth Stack SDK for development in your device. Regards. Regards, Javier

    Mobile com tutorial question

  • Threads...
    I illidan99

    thanks, I will test it Regards, Javier

    Mobile help question career

  • Threads...
    I illidan99

    Hi, I'm trying to use a thread in my app. I have read about in this web. I see that a thread must be associated to a dialog to show its variables. Now I use "AfxBeginThread" in the InitDialog and works for one dialog. But I have several dialogs, and I want to show a thread's variable in the active dialog,not only in one of this. I need to resume or supend the thread from the active dialog, too. I'm trying but I can't do it. Anyone knows which is the best way to do it, or any sample where I can see about it? I have tried to do a extern pointer to the thread but I have a link error... Thak you in advance. Regards, Javier

    Mobile help question career

  • Using a thread in a dialog project
    I illidan99

    ok, thank you Regards, Javier

    Mobile question

  • Using a thread in a dialog project
    I illidan99

    ok, what is the clean solution? If I do it like global object, how can i define it?Any sample or code for learn it? Thank you. Regards, Javier

    Mobile question

  • Using a thread in a dialog project
    I illidan99

    Yes, sorry, I only need two variables managed in the thread that they could be accessible from all dialogs, and I need to resume or to stop the thread from a button in any dialog. How can I do it? I only need to know to make accessibles threads variables(or member variables) or something else. Regards. Regards, Javier

    Mobile question

  • Using a thread in a dialog project
    I illidan99

    Hi, I need to use the same thread for several Dialogs. I do it for one dialog and it works, because I associate it with this dialog. But If I want to use it in another dialog, ¿How can I do it? How can I associate it with several dialogs? Another question: How Can I use a member class dialog variable in another Dialog code? Thanks. Regards, Javier

    Mobile question

  • About an ActiveX control
    I illidan99

    Hi, I'm developing a Dialog app in Visual C++. I want to add an Active Control to my project but it doesn't work. The ACtiveX control is registered in my Desktop, and I drag it to my dialog app. Then I copy the .dll and the app to my POcket PC and I execute the app and it doesn't run. Maybe I have to register the ActiveX control in the Pocket PC? I read something about use "regsrvce.exe" for register ActiveX control but I don't find it. How can I do it?? Thanks. Regards. Regards, Javier

    Mobile c++ question com

  • Creating a Tab control
    I illidan99

    Hi, I try to create a tab control for two dialogs in a dialog-based project. In "On-initdialog" main Dialog, I do: [code]m_pTabCtrl->Create(TCS_TABS | TCS_FIXEDWIDTH | WS_CHILD | WS_VISIBLE, CRect(0,0,100,20), this,1);[/code] , where "m_pTabCtrl" is a pointer to a CTabCtrl member variable. Then I want to add the 2 dialogs to this tab control, but I dont know how to do it. Anyone can help me to complete the tab control?Do I need to add another code? Thank you. Regards, Javier

    Mobile help tutorial question

  • About Dialogs
    I illidan99

    Hi, I'm Javier. I'm developing a dialog-based application in windows mobile 2003 SE with embedded Visual C++ 4. It's a full screen app. When I put the screen in landscape mode, appears a vertical scroll bar in my main dialog app, although my dialog window is smaller than the screen. I want to know any way to remove or hide this scroll bar, How can I do it? Any help will be appreciated. Thanks you. Regards, Javier

    Mobile c++ question hardware help

  • Dialog-based project
    I illidan99

    Hi, I'm developing a Dialog-based project in which I hide the Command bar and SIP Button (the bar below the screen). I use "SHInitDialog" and "SHFullScreen" methods that works OK. The problem is: If I open another application in the PPC (for example Word) which uses the SIP button and the SIP keyboard, then I close it and when my application reappears the command bar is here. I use "SHInitDialog" and "SHFullScreen" in the "WM_ACTIVATE" message and "OninitDialog" routine, but when my app retakes the control the command bar is not hide!. Anyone knows what's happen? How I can hide the commmand bar? Any help will be appreciated. Regards, Javier

    Mobile help tutorial question

  • How to add SDK on eVC++4.0
    I illidan99

    Have you installed the new SDK? First I would read in microsoft web if it is compatible with eVC++. Once installed, it must appears in the combo menu in eVC++ if it is installed correctly, I think... Regards, Javier

    Mobile c++ help tutorial question workspace

  • DoModal to call other Dialog
    I illidan99

    I repass it and it's works, thanks!. Is there a easy way to hide the below bar (where the SIP button is) in all the application? I suppose at the beginning...I try it in many ways and wrong... It's better than I hide this bar in each "Activate Message"... Regards, Javier

    Mobile question

  • DoModal to call other Dialog
    I illidan99

    Ok, initially for a dialog this message doesn't appear in the ClassWizard. I put a message handler in the *.cpp. Is this the way?: void CFullScreen2Dlg::OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized) { CDialog::OnActivate(nState, pWndOther, bMinimized); // HERE I PUT ANY CODE WHICH IS EXECUTED WHEN THIS MESSAGE IS SENT... } I test in this way and it's not right. Can you help me? Thanks. Regards, Javier

    Mobile question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups