一个BCB编的程序,是mdi的,主窗口上有个toolbar,boolbar有菜单项,用spy++拦toolbar,主窗口,子窗口的,wm_comand,wm_syscommand,wm_selectmenu,都没有消息?难道主菜单上的菜单项不是用消息打开的?下面是用dede反编译主窗口菜单的一部分?
object mnuViewIESource: TMenuItem
Tag = 53
Caption = 源文件(&V)...
OnClick = mnuForwardClick
end
object N58: TMenuItem
Caption = '-'
end
object mnuIEFind: TMenuItem
Tag = 11
Caption = 查找(在当前页)(&D)...
ImageIndex = 1
OnClick = mnuForwardClick
end
object N70: TMenuItem
Tag = 73
Caption = 发表评论(&Q)
Visible = False
OnClick = mnuForwardClick
end
object N69: TMenuItem
Caption = '-'
end
object mnuFullScreen: TMenuItem
Caption = 全屏
ShortCut = 122
OnClick = mnuFullScreenClick
end
object mnuCurWndProperty: TMenuItem
Caption = 属性(&O)...
Hint = 当前图书/网页的属性
ImageIndex = 16
OnClick = mnuCurWndPropertyClick
end
end
object mnuBook: TMenuItem
Caption = 图书(&B)
GroupIndex = 7
OnClick = mnuBookClick
object mainmnuGoto: TMenuItem
Caption = 转到(&G)
ImageIndex = 29
object mnuPrevPage: TMenuItem
Tag = 25
Caption = 上一页(&P)
Hint = 向上翻一页
ImageIndex = 35
OnClick = mnuPrevPageClick
end
object mnuNextPage: TMenuItem
Tag = 26
Caption = 下一页(&N)
Hint = 向下翻一页
ImageIndex = 36
OnClick = mnuPrevPageClick
end
object mnuFirstPage: TMenuItem
Tag = 27
Caption = 第一页(&T)
Hint = 转到第一页
ImageIndex = 21
OnClick = mnuPrevPageClick
end
object mnuLastPage: TMenuItem
Tag = 28
Caption = 最后一页(&L)
Hint = 转到最后一页
ImageIndex = 22
OnClick = mnuPrevPageClick
end
object mnuSpecifyPage: TMenuItem
我要打开属性mnuCurWndProperty,高手指点下呀?
原程序在这下载
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!