Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. nativeEvent函数捕获不到WM_NCHITTEST消息
Forum Updated to NodeBB v4.3 + New Features

nativeEvent函数捕获不到WM_NCHITTEST消息

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 293 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    flcnrqt
    wrote on last edited by
    #1

    nativeEvent函数捕获不到WM_NCHITTEST消息

    bool CWidget::nativeEvent(const QByteArray &eventType, void *message, long *result)
    {

    qDebug()<<"eventType"<<eventType;
    if (eventType == "windows_generic_MSG")
    {
        MSG *param = static_cast<MSG *>(message);
        qDebug()<<"message"<<param->message;
        qDebug()<<"messageLow"<<LOWORD (param->message);
        qDebug()<<"messageHi"<<HIWORD (param->message);
    
        switch (param->message)
        {
        qDebug()<<"message in"<<param->message;
        case WM_NCHITTEST:
        {
        }
    

    }

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved