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

Hy,

also das Problem ist folgendes:

ich möchte eine Art Explorerstruktur erschaffen, sprich einen Tree und ein Anzeigefenster.

Der Tree an sich ist auch kein Problem, nur weiss ich nicht so recht welches Control ich für das Anzeigefenster nehmen soll.

CFrameWnd macht mir ja leider ein komplettes Fenster (bzw einen Frame).

Bräuchte aber ein Control innerhalb eines Frames.

Wäre cool wenn da jemand was drüber wüsste.

habs zuerst mit der Suchfunktion versucht aber da kam nicht wirklich was dabei raus :[

MfG

Primo

ah ehm klar natürlich listctrl wieso bin ich da nicht selbst draufgekommen ><

naja ok so weit so gut, jetz hab ich mal versucht eins einzubauen.

sieht so aus:

void CTestView::OnInitialUpdate()

{

CView::OnInitialUpdate();

CListCtrl MyList;

CRect MyRect;

MyRect.SetRect(310,3,1000,500);

MyList.Create(WS_CHILD|WS_VISIBLE|WS_BORDER|LVS_REPORT,MyRect,this, 1);

MyList.InsertItem(1,"bla");

}

so stehts in der msdn, aber irgendwas muss falsch sein, weil er zeigts nicht an :/

yo klappt mit pointer, danke.

mal was ganz anderes: ich möchte mein hauptfenster maximieren.

dachte eigentlich dass das hier klappen sollte:

AfxGetMainWnd()->ModifyStyle(NULL,WS_MAXIMIZE);

tut es aber nicht. jemand ne idee?

hat leider den selben effekt wie modifystyle, nämlich garkeinen :{

etwas ist allerdings seltsam, wenn ich über den maximize button fahre mit der maus, dann ändert er sich in den mit den overlap fenstern um, sprich die maximize box denkt, dass fenster ist bereits maximiert...

die frage is nur noch wie man das dem fenster klarmacht..

dachte evtl mit updatewindow() aber das wars auch nicht ><

bei onCreate in meinem frame

Dann willsts also maximiert starten.

In dem Fall kannst wohl doch das

AfxGetMainWnd()->ShowWindow(SW_SHOWMAXIMIZED);

nehmen.

Solltest allerdings ans Ende von InitInstance in deiner von CWinApp abgeleiteten Klasse machen.

Goos

alles klar, das isses.

im initinstance hauts hin.

many thx :]

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.