deepzero Posted July 25, 2011 Posted July 25, 2011 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_NEUTRALIDD_DIALOG1 DIALOG 0, 0, 186, 95STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE | WS_POPUP | WS_SYSMENUCAPTION "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
Killboy Posted July 25, 2011 Posted July 25, 2011 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
deepzero Posted July 25, 2011 Author Posted July 25, 2011 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...
atom0s Posted July 25, 2011 Posted July 25, 2011 You can also right-click the .rc file in the solution and choose 'View Code' to edit the raw code of the resource file.
deepzero Posted July 26, 2011 Author Posted July 26, 2011 (edited) I must be a blind fish... :S THanks for the smiley edit: dialog logical units are wired though...let me think about that... Edited July 26, 2011 by deepzero
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now