VincentWei / MiniGUI

A modern and mature cross-platform window system for embedded systems and smart IoT devices.
http://www.minigui.com
GNU General Public License v3.0
695 stars 157 forks source link

GetNextMainWindow 没法获得 第一个MainWindow #61

Closed steprun closed 3 years ago

steprun commented 3 years ago

hMainWnd == HWND_NULL || MG_IS_NORMAL_MAIN_WINDOW (hMainWnd) 这两个条件就没有方法获得第一个窗口, dskGetNextMainWindow 却可以通过传空值来获得第一个窗口

VincentWei commented 3 years ago

Obviously, this is a bug. Thanks for your report!

VincentWei commented 3 years ago

The condition should be changed to:

hMainWnd != HWND_NULL && !MG_IS_NORMAL_MAIN_WINDOW (hMainWnd)

Aaron-mo commented 1 year ago

Obviously, this is a bug. Thanks for your report!

Sorry, this issue does not seem to be fixed