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
S

skyapie

@skyapie
About
Posts
8
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What can cause SendMessage to get stuck?
    S skyapie

    Hi, I've got 2 threads, one continuously uses "SendMessage" to tell main thread to perform some processing and update the GUI. However, after running my application for anywhere between 1/2 hr to 5 hours, SendMessage will randomly get stuck.... IE: The window that's suppossed to receive the message never receives the message, and the application GUI just freezes. Can anyone tell me if this has happened to them before, or what could possibly cause the message sent by SendMessage to not-be-received by the recepient window? Thanks, skyapie :-D

    C / C++ / MFC help question announcement

  • Bluetooth in Windows CE .NET 4.2
    S skyapie

    Can anyone tell me how to make my device non-discoverable (with bluetooth)? I want to be able to have my device connect to only bluetooth printers, and no other devices like mobile phones or bluetooth dongles.... thanks, skyapie :)

    Mobile csharp tutorial question

  • MFC Question - How can I tell if a button has been pressed, not a specific button, but just the event of a button press?
    S skyapie

    Hi again, thanks for the reply last time.... Do you know how to do the same thing for the events where the user moves a scroll bar or clicks in a list box/list control? I couldn't get it to work using the OnCommand method, so I used OnNotify. See code here... BOOL CBaseFormView::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) { NMHDR* pNMHDR = (NMHDR*)lParam; /* ** I have no clue what 0xFFFFFF4 is.... it just seems to be the value that gets posted ** when the user scrolls. */ if(pNMHDR->code == 0xFFFFFFF4) { AsyncServicesUpdateInactivityTimer(this->m_hWnd); } return CFormView::OnNotify(wParam, lParam, pResult); } Except I'm not sure what the notification codes for selecting something within a list box or list control, or moving the scrollbar are. Thanks again Skyapie :-D

    C / C++ / MFC question c++

  • What is the notification code that gets sent when a scrollbar event occurs?
    S skyapie

    That will work if the scrollbar is for the view, not for a list control or list box in the view...

    C / C++ / MFC question

  • What is the notification code that gets sent when a scrollbar event occurs?
    S skyapie

    Hi, I'm using the OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) method to find out when a user uses a scrollbar. Except I'm not sure what to be checking lParam against. I've casted lParam to be a NMHDR*, but when I check the value of pNMHDR->code, it's usually 0xFFFFFFF4. Can anyone tell me what xxxxx should be in the following line? BOOL CBaseFormView::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) { NMHDR* pNMHDR = (NMHDR*)lParam; **if(pNMHDR->code == xxxxx)** { //Do stuff } } Or can someone tell me if I'm going about this the wrong way? Thanks, skyapie

    C / C++ / MFC question

  • RAPI soft-reset?
    S skyapie

    Hi, Does anyone know how to trigger a soft-reset programmatically on a Win CE device using RAPI? Thanks skyapie :-D

    Mobile database tutorial question

  • MFC Question - How can I tell if a button has been pressed, not a specific button, but just the event of a button press?
    S skyapie

    Thanks! It worked :-D

    C / C++ / MFC question c++

  • MFC Question - How can I tell if a button has been pressed, not a specific button, but just the event of a button press?
    S skyapie

    Is there any message that gets posted on event of a button press? The ON_BN_CLICKED is used for specific buttons and that message gets sent if the specific button is pressed. If I have a dialog with 10 buttons, and I want to know if a button got pressed (any button, it doesn't matter which), how do I do this? Thanks, skyapie :)

    C / C++ / MFC question c++
  • Login

  • Don't have an account? Register

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