Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Empfohlene Antworten

Veröffentlicht

Hi Leutz

hab mal wieder eine super Idee gehabt die mit einer super Frage verbunden ist!

Ich möchte gern ein Windows erzeugen was immer ONTOP ist. So wie bei Flashget zum Bleistift. Wie fange ich da am besten an. Vorschläge, Beispiele, ich nehme alles entgegen.

Danke schon mal.

Oh sorry hatte ich vergesse, leider arbeite ich mit MFC.

SetWindowPos gibt es auch in den MFC:

BOOL CWnd::SetWindowPos( const CWnd* pWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );

Wenn das Fenster auch dann im Vordergrund bleiben soll, wenn es nicht aktiv ist (wie z.B. der TaskManager), kannst Du das so machen:

SetWindowPos( &wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_SHOWWINDOW );

Danke :) werde es gleich mal testen

  • 2 Monate später...

bei mir im classwizard gibts die blöde message WM_WINDOWPOSCHANGED nicht :(

dachte erst die ist nicht da , weil das ding n dialog ist, doch dann ist mir eingefallen, dass CDialog von CWnd abgeleitet ist ...

also hoffe mir kann einer helfen, oder ich bin echt zu plöt für c++ :'(

hallo

ja und wo bitte soll ich das hier

SetWindowPos( &wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_SHOWWINDOW );

hinschreiben?? haltet mich für blöd, aba ich weiss es einfach nicht :(

so ich hab den code etz einfach so hingeschrieben und es geht ...

void CEuroDlg::OnCaptureChanged(CWnd *pWnd)

{

// TODO: Add your message handler code here

SetWindowPos( &wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_SHOWWINDOW );

CDialog::OnCaptureChanged(pWnd);

}

have a nice dos

thx4help

cu

danke danke danke :)

es funzt ^^

OnInitDialog, wieso bin ich da nicht daufgekommen :P

also nochmal danke

cu

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.