Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Delphi repaint or invalidate

Featured Replies

Posted

Hi,


 


Im trying to figure out how can i repaint a remote window in delphi easily, because if i make changes to the window, i always have to minimize and maximize it to take effect. (believe the paint message start going when i maximizing).


 


Is there any workaround? I have read that i should use the invalidate function, but i dont have a clue how to do it on a specific window, outside delphi.


 


You can use the InvalidateRect API for Windows:


http://msdn.microsoft.com/en-us/library/windows/desktop/dd145002(v=vs.85).aspx


 


Just give it a valid handle to the window and use 0 / null for the rest of the parameters to force the entire window to refresh.


 


You can use API like FindWindow to get the hWnd needed for InvalidatedRect.


Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.