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.

MSFlexGrid und CtoolTipCtrl

Empfohlene Antworten

Veröffentlicht

Hallo,

ich benutze MSFlexGrid und will den CtoolTipCtrl in Verbindung mit MSFlexGrid setzen dh. wenn ich mit der Maus drauf gehe soll das angezeigt werden wo sich grade die Maus befindet also in Spalt 1 Spalte 1 usw.

Den MSFlexGrid fühle ich in eine for schleife wie komme ich aber an die einzelne werte wenn ich mit die Maus drauf gehe ???

Hi!

Bin nicht sicher, ob ich Dein Problem richtig verstanden hab,

aber ich glaube nicht, dass Du in einzelnen Elementen des FlexGrids ToolTips anzeigen kannst. Diese bräuchten denn ja eine eigene Ressoucen ID, welche Du angeben müsstest.

Beispiel:

BOOL CMeinDialog::OnInitDialog()

{

CDialog::OnInitDialog();

CToolTipCtrl m_CtrlToolTip;

m_CtrlToolTip.Create(this);

m_CtrlToolTip.SetDelayTime(1000);

m_CtrlToolTip.AddTool(GetDlgItem(IDC_MEINE_RESSOURCE),"Klicken Sie hier!");

}

Hab noch vergessen zu sagen, dass Du die Funktion "PreTranslateMessage" wie folgt anlegen musst:

Beilspiel:

BOOL CMeinDialog::PreTranslateMessage(MSG* pMsg)

{

m_CtrlToolTip.RelayEvent(pMsg);

return CDialog::PreTranslateMessage(pMsg);

}

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.