/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/main.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/seamlessrdp/ServerExe/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1096 by ossman_, Fri Mar 10 12:27:38 2006 UTC revision 1097 by ossman_, Fri Mar 10 12:38:00 2006 UTC
# Line 74  enum_cb(HWND hwnd, LPARAM lparam) Line 74  enum_cb(HWND hwnd, LPARAM lparam)
74          char title[150];          char title[150];
75          LONG styles;          LONG styles;
76          int state;          int state;
77            HWND parent;
78    
79          styles = GetWindowLong(hwnd, GWL_STYLE);          styles = GetWindowLong(hwnd, GWL_STYLE);
80    
81          if (!(styles & WS_VISIBLE))          if (!(styles & WS_VISIBLE))
82                  return TRUE;                  return TRUE;
83    
84          vchannel_write("CREATE,0x%p,0x%x", hwnd, 0);          if (styles & WS_POPUP)
85                    parent = (HWND) GetWindowLong(hwnd, GWL_HWNDPARENT);
86            else
87                    parent = NULL;
88    
89            vchannel_write("CREATE,0x%p,0x%p,0x%x", hwnd, parent, 0);
90    
91          if (!GetWindowRect(hwnd, &rect))          if (!GetWindowRect(hwnd, &rect))
92          {          {

Legend:
Removed from v.1096  
changed lines
  Added in v.1097

  ViewVC Help
Powered by ViewVC 1.1.26