Solved

TPropertySheet as TFrameWindow client

Posted on 1998-01-14
3
234 Views
Last Modified: 2013-12-26
I am trying to determine 2 things about the TPropertySheet class:

1. Is it possible to use a TPropertySheet as the client window of TFrameWindow? My program bombs if I try to do it.

2. Is there any way to override the window type characteristics of TPropertySheet? I can't seem to be able to have a TPropertySheet that is sizable or that stays within it's parent window. I wish to have a TPropertySheet window that is maximized within the TFrameWindow - is this possible? Please provide a detailed explanation if possible.

Thanks.
0
Comment
Question by:memoody
3 Comments
 

Expert Comment

by:eppsman
Comment Utility
I don't have a complete answer, so I'll only put this in a comment. :-) I've tried using the property sheet as the client of a TFrameWindow, and it didn't work for me either. I've seen an example of somebody who has worked around it. They created a frame window, then in the SetupWindow() function, the window sent a message to itself to create the property sheet. A response function was then written to create the property sheet, almost as if it were a dialog box. Hope this helps a bit.

0
 
LVL 2

Accepted Solution

by:
JensUniweb earned 100 total points
Comment Utility
As I understand the TPropertySheet class it uses the Windows property sheet under Windows 95/NT4. This may cause some problem when you want to use it as your TFrameWindow. This is because the windows API function for property sheets is called. And this does not function the same way as creating a window. You don't get a windows handle, you have no way to set attributes like sizable. But there may be a way to send info to the main window from the callback function supplied to PropertySheet(). So may guess is to studdy the Windows API function PropertySheet() and see if there is a way to 'hook' this window into you main windows. Another way is to build your own TPropertySheet class that uses TTabControl to get the look of a property sheet.

 Jens Yllmna
 (http://www.uniweb.se/~jens/)
0
 

Author Comment

by:memoody
Comment Utility
It wasn't the answer I was hoping for, but it cleared up my confusion about my questions. Thanks.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now