Windows
Changing windows' opacity
- Demonstration
- Functionality:
- Create 64 windows positioned as in the demonstration application
- The height of all windows is 50 pixels
- The width of windows depends on the width of the screen, windows should fill
the screen horizontally
- It can be assumed that the width of the screen does not change during
running of the application
- The starting position of windows should be the top of the screen
- Features of windows:
- No caption bar
- No border
- The background color - the color of the active window's caption
- Only one window visible on the task bar and in the task switch window (Alt+Tab)
- Change opacity of windows as in the demonstration application
- Allow to move all windows vertically (and only vertically) by dragging any of windows
- Hints:
- GetSystemMetrics(SM_CXSCREEN)
- WS_EX_LAYERED, SetLayeredWindowAttributes()
- SetTimer(), WM_TIMER
- WM_NCHITTEST
- WM_MOVING
- GetWindowRect(), MoveWindow()
- Approximate points:
- 64 windows: 1.0
- starting position of windows: 1.0
- features of windows: 2.0
- changing opacity of windows (as in the demonstration): 3.0
- moving windows (only vertically, by dragging any window): 3.0
- Links for uploading (the password is the same as for results):