Trivial comment: Even though I like minimal code, I do this ...
... instead of this, even when the code is for a quick test using throwaway code.
Code:
CallBack Function DlgProc() As Long Select Case Cb.Msg Case %WM_Command Select Case Cb.Ctl Case %IDC_DoThis : DoThis End Select End Select End Function
Code:
CallBack Function DlgProc() As Long If Cb.Msg = %WM_Command And Cb.Ctl = %IDC_DoThis Then DoThis End Function
Comment