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,

Ihr müßt mir helfen! Ich werd noch zum Elch... :eek: :rolleyes:

Ich hab mir eine Klasse von CEdit abgeleitet. folgendes kam hin zu:

 

void CEditModulInfo::OnSetfocus() 

{

  CWnd* lpoParent = NULL;


  lpoParent = GetParent();

  if(lpoParent)

  {

    if(!m_bAcceptFocus)

    {

      lpoParent->SetFocus();

    }

  }

}


void CEditModulInfo::SetAcceptFocus(bool bNewStatus)

{

  m_bAcceptFocus = bNewStatus;

}

Alles funzt wunderbar, bis - ja bis ich bei dem EditFeld den Rand deaktiviere und eine statische Kante aktiviere. Ab da nimmt das Feld jeden Focus an, egal ob m_bAcceptFocus wahr oder falsch... :(

Kann mir bitte jemand helfen?

Thnx...

<FONT COLOR="#a62a2a" SIZE="1">[ 13. Dezember 2001 13:09: Beitrag 1 mal editiert, zuletzt von Hexagon ]</font>

Ich kann den Fehler nicht reproduzieren, das Steuerelement nimmt auch ohne Rand und mit statischer Kante den Fokus nicht an. Sicher, dass alles andere richtig ist?

<FONT COLOR="#a62a2a" SIZE="1">[ 13. Dezember 2001 14:22: Beitrag 2 mal editiert, zuletzt von Klotzkopp ]</font>

  • Autor

Hmmmm - liegt scheinbar an der Dialogklasse, da meine Editklasse in jedem anderen Dialog funzt! :eek:

wird wohl noch ne lange Nacht am Debugger werden... :(

Danke fürs Prüfen!

..ja überprüfe mal deine Dialogklasse.. :confused: :confused:

  • Autor

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von nebel:

<STRONG>..ja überprüfe mal deine Dialogklasse.. :confused: :confused:</STRONG>

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.