flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > Solution: LISTBOX with LBS_OWNERDRAW and WS_POPUP | 
  
| Author | 
  | 
              
| 
                  
                   edemko 15 Nov 2010, 10:02 
                  JohnFound,
 
                  
                Why to use a WS_POPUP style for any control at all?  | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 15 Nov 2010, 10:21 
                  edemko wrote: JohnFound, Well, there is no difference between controls and non-controls in Windows. If you create the window with WS_CHILD it is "control", if you create it without WS_CHILD it is normal window. You can use one "control" as a parent for other control. In the case with the list box, I wanted to use it as a drop down pop up window in Fresh auto complete function, but I wanted the list box to be owner draw, so I faced this problem and also found solution, that can be useful for someone else.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.