home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / win3l / 12874 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.0 KB  |  28 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!JCSVAX1.BITNET!SHADOW
  3. X-Envelope-to: win3-l@uicvm.BITNET
  4. X-VMS-To: IN%"win3-l@uicvm"
  5. Message-ID: <01GTXXODHFLG8WZEQ7@JCSVAX1.BITNET>
  6. Newsgroups: bit.listserv.win3-l
  7. Date:         Mon, 25 Jan 1993 16:32:00 EST
  8. Sender:       Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
  9. From:         SHADOW@JCSVAX1.BITNET
  10. Subject:      How to get a scroll bar's ID number...
  11. Lines: 15
  12.  
  13. Hi there,
  14.  
  15. I've got a quick question...
  16.  
  17. I'm writing a dialog window procedure where the user is supposed to change a
  18. certain color by clicking on 3 scrollbars... ID_SB_RED,ID_SB_GREEN,ID_SB_BLUE.
  19. Theses are the colors that combined with the RGB macro give me the actual color.
  20. Now my problem is that I can't figure out which scrollbar sends me which message
  21.    ...(I've tried to get that from the lParam of the message WM_VSCROLL... lPara
  22.    m
  23. is supposed to have in the hiword the ID for the scrollbar... no good...)
  24.  
  25. Anybody has a suggestion?
  26.  
  27. Thanks,Nick.
  28.