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.

[c++,gui]

Featured Replies

Posted

hey,

i need to have a simple c++ gui, using the msvc++2008pro IDE. It`s just a small project, so i didnt want to bring wwwidgets or similar into the game...

Since the build-in resource editor doesnt display the location and size of single dialog items (for unknown reasons...)

i was looking for an alternative and came across this: ResEdit 154 - http://www.resedit.net/

That resource editor is awesome...unfortunately, its generated .rc scripts are not compitable with msvc++2008pro, even though the homepage says different:

Importing rc files generated by Microsoft Visual Studio resource editor

Adding a simple dialog resource created by ResEdit crashes msvc++:


// Generated by ResEdit 1.5.4
// Copyright (C) 2006-2010
// http://www.resedit.net#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"
//
// Dialog resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG1 DIALOG 0, 0, 186, 95
STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE | WS_POPUP | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "Ms Shell Dlg"
{
DEFPUSHBUTTON "OK", IDOK, 129, 7, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 129, 24, 50, 14
}

it does work if i have resedit create a compiled .res resource script...but then i cant edit the names, etc.

Any resons for this?

what are you guys using to create guis...the build in editor?

dp0 :)

Of course it displays location and size o_O

Can you just post a screenshot of what's going on?

Honestly I think the built-in editor is the best you can get, any other res editor I tried blows :turned:

  • Author

i cant see where it displays size & location...attached screenshot is taken while i select a button.

there isnt much to take a screenshot of, i edit my dialog in resedit save it as a .rc file and import it with visual studio.

when i try to open the imported .rc in the resource view msvc++ crashes.

Honestly I think the built-in editor is the best you can get, any other res editor I tried blows

the main problem is that i cant find where the buildin one diplays location and size...but ResEdit is really comfortable to work with... :)

post-34591-0-43583200-1311621342_thumb.j

Hope that helps:

post-21642-0-90352900-1311622625_thumb.p

You can also right-click the .rc file in the solution and choose 'View Code' to edit the raw code of the resource file.

  • Author

I must be a blind fish... :S

THanks for the smiley ;)

edit:

dialog logical units are wired though...let me think about that... ;)

Edited by deepzero

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.