Questions tagged [propertysheet]

A property sheet is a window that allows the user to view and edit the properties of an item. It uaually has several pages, usually navigated by 'Next'/'Previous' buttons or tabs.

91 questions
1
vote
1 answer

Visual Studio UserMacros (and general property sheet) Syntax?

I've scoured around and haven't been able to find any kind of a decent reference guide on Visual Studio property sheets. Most of what you can do with them cannot be done through the UI, so I've got to think there is a reference guide somewhere that…
1
vote
1 answer

Visual Studio: Can I make a property sheet's imports read only?

I have a property sheet in Visual Studio 2010 that imports some other property sheets. My property sheet's imports section looks like this:
loop
  • 3,150
  • 4
  • 27
  • 51
1
vote
0 answers

Why can't I save a value for Inherited Project Property Sheets?

I'm trying to add Inherited Project Property Sheets to the configuration for a project. I paste in the string ..\..\vs\library.vsprops;..\..\vs\debug.vsprops;..\..\vs\platformx64.vsprops And click Apply/OK. As soon as I do the property is cleared…
fredley
  • 29,323
  • 39
  • 131
  • 223
1
vote
0 answers

Customization of Netbean PropertySheet API UI

Netbean PropertySheet API I want to add two small image buttons for add/remove (image etc) action in PropertySet row of PropertySheet in Netbean. In JTable we can have table render for this purpose. Here in Netbean we can control paint for property…
malik badar
  • 69
  • 2
  • 8
0
votes
1 answer

Can't use PropSheet to create a centered property sheet dialog

I am creating a modeless property sheet using the following settings: PROPSHEETHEADER pshdr = { 0 }; pshdr.dwSize = sizeof(PROPSHEETHEADER); pshdr.dwFlags = PSH_NOAPPLYNOW | PSH_PROPSHEETPAGE | PSH_MODELESS |…
joshk0
  • 2,504
  • 2
  • 25
  • 35
0
votes
1 answer

C# using VC++2010 property sheet

We store version numbers for our software in a vc++2010 property sheet. I have 2 C# projects that need to access these numbers. Is there a way to reasonably do this? thanks!
0
votes
1 answer

MFC MDI Problem with SetLook even with header file in place

I've implemented a Property Sheet and several Property Pages that are called from the Main Menu from the MainFrame.cpp spawned from my issue here: MFC MDI Designing user preferences dialog GUI layout functionality The code I landed on…
0
votes
1 answer

How can I change the text on a property sheet APPLY button

I'd like to change the text on a property sheet APPLY button but I don't know the control's ID or HWND. I do have the property sheet's HWND. Any ideas?
Mike D
  • 2,595
  • 6
  • 38
  • 72
0
votes
1 answer

property sheet - how can I remove the border?

I've embedded a property sheet in a dialog box IDC_CONTAINER by specifying the HWND of the container in the hwndParent of the property sheet header when creating the property sheet. In the callback I specified the following... int CALLBACK…
Mike D
  • 2,595
  • 6
  • 38
  • 72
0
votes
1 answer

property sheet data validation

When the user clicks the OK or APPLY button on a property sheet and the program determines data on some page is invalid, how can I cause the page containing the error to be displayed along with a message box describing the error? Currently the…
Mike D
  • 2,595
  • 6
  • 38
  • 72
0
votes
1 answer

Can I make a property sheet without resource script?

I'd like to add controls to a property sheet without resource script, rather using pure code. The reason for this I'd like to create a property sheet(mimicking C#'s property grid), calling C routines/WINAPI, from another language, binary-compatible…
Jack
  • 14,916
  • 47
  • 136
  • 245
0
votes
1 answer

How to set stdcpp+17 in a property sheet for Visual Studio 2017?

I have a solution with a large number (120+) of projects. I'd like to enable stdc++-17 in all of them without changing each individual project. We are already using a property sheet. I just can't figure out how to add the flag with the proper…
jsparkes
  • 111
  • 7
0
votes
1 answer

VS2019: Include file as project macro

I got a makefile project for Linux and I want to compile it on Win10 with Visual Studio 2019. There are some paths to files defined in the makefile as preprocessor defines. I have to replace the paths by own created files because they are a kind of…
LEDPaul
  • 1
  • 1
0
votes
1 answer

Accessing controls within Property Sheet

I'm creating a Windows application using a PropertySheet (Wizard97 type), but I'm unclear how to access the controls from within the dialog callback. First I setup the property sheet. psp[1].dwSize = sizeof(PROPSHEETPAGE); psp[1].dwFlags =…
ndnfan
  • 151
  • 1
  • 6
0
votes
1 answer

Changing the IDCANCEL button to a IDCLOSE button on a propertysheet, taking localization into account

This might sound like a dumb question. I know that CMFCPropertyPage has a CancelToClose method but I can't find similar for the sheet object. I basically want the Cancel button to be "Close" at all times and was hoping to do it in the sheet…
Andrew Truckle
  • 13,595
  • 10
  • 45
  • 105