Changeset 150 for trunk/src/plugins/org.eclipse.swt/Eclipse SWT
- Timestamp:
- Jun 13, 2009, 5:47:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/Scale.java
r149 r150 100 100 OS.WinSetWindowUShort (handle, OS.QWS_ID, (short)(handle & 0xFFFF)); 101 101 102 OS.WinSendMsg(handle, OS.SLM_SETTICKSIZE, OS.MPFROM2SHORT((short)OS.SMA_SETALLTICKS, (short)2), 0); 102 OS.WinSendMsg(handle, OS.SLM_SETTICKSIZE, OS.MPFROM2SHORT((short)OS.SMA_SETALLTICKS, (short)6), 0); 103 System.out.println ("Scale:createHandle " + Integer.toHexString (OS.MPFROM2SHORT((short)OS.SMA_SETALLTICKS, (short)6))); 103 104 super.register (); 104 105 super.subclass (); … … 168 169 System.out.println ("Scale:createHandle"); 169 170 super.createHandle (); 170 OS.WinSendMsg(handle, OS.SLM_SETTICKSIZE, OS.MPFROM2SHORT((short)OS.SMA_SETALLTICKS, (short)10), 0);171 // OS.WinSendMsg(handle, OS.SLM_SETTICKSIZE, OS.MPFROM2SHORT((short)OS.SMA_SETALLTICKS, (short)10), 0); 171 172 // OS.SendMessage (handle, OS.TBM_SETRANGEMAX, 0, 100); 172 173 // OS.SendMessage (handle, OS.TBM_SETPAGESIZE, 0, 10);
Note:
See TracChangeset
for help on using the changeset viewer.