Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Re: Can't see Dialog controls Collapse All
Subject Author Date
David Ian Jul 20, 2007 - 3:49 AM

Hi All

Can anyone help I am going insane.

I am very new to Prof-UIS, and I have just been given the task of evaluating Ver. 223 and Ver. 270. I have been tearing my hair out because I cannot understand why when I create a dialog and add controls to it such as a TreeCtrl, EditCTrl and a button, a cannot see them. I have written my own application and used the SDIDOCVIEW sample. In the SDIDOCVIEW sample if I add the same controls to the resizable bar dialog I can see the controls when I launch application. Even in the SDIDOCVIEW sample, if I create my own dialog and add the same controls to it and use the same code to create my own floating control bar I still can’t see the controls on my dialog.

Here is a small snippet of the source code:

In the MainFrm.h file I have:-

CExtControlBar        m_wndTESTBarDlg;
#if 1
CExtResizableDialog m_wndTESTResizableDialog;
    CExtWRB<CExtResizableDialog> m_wndTESTResizableDialog;

In the MainFrm.cpp file I have:-

            _T("Test Dialog bar caption"),
        TRACE0("Failed to create m_wndResizableBarDlg\n");
        return -1;        // fail to create

    if( !m_wndTESTResizableDialog.Create(
        TRACE0("Failed to create m_wndResizableBarDlg\n");
        return -1;        // fail to create

    m_wndTESTBarDlg.EnableDocking( CBRS_ALIGN_ANY );

To me there does n’t seem to be anything wrong with what I am doing, but I just can’t seem to see the controls, or may be the dialog itself is not being displayed.

Can anyone please help.

Thanks in advance.


Boby Dilan May 5, 2023 - 9:21 AM

Builders and plumbers often work in demanding environments, such as construction sites, where they are exposed to various weather conditions. They may also be required to work in confined spaces, such as crawl spaces or under sinks, which can be uncomfortable and difficult to access. Therefore, it is important for builders and plumbers to be physically fit and have good endurance to meet the demands of the job.

Cathleen Rieadge May 21, 2022 - 8:21 AM

I recently signed up at the [url=]forest hills hair salon[/url] for coloring and cutting. Already during the conversation, I realized that I had chosen the right master. The hair color turned out exactly how I wanted. The haircut highlighted the color. I was very satisfied. Two months later, the color is wonderful. Finally, I found a good master in the city. I advise everyone!

Cathleen Rieadge May 17, 2022 - 10:16 AM

An excellent hairdressing salon, firstly I would like to note the interior - everything is done very stylishly, it was pleasant to be there. Secondly, the attitude to the client is at the highest level - polite, helpful hairdressers. And thirdly, this is the price, which undoubtedly corresponds to the quality of the haircut. I will come to [url=]barbershop nyc[/url] and tell my friends about the salon.

Technical Support Jul 21, 2007 - 11:58 AM

Please make sure that your dialog resource has the Visible property set to true.

Boby Dilan Jun 3, 2023 - 8:43 PM

Barbershops have transcended their traditional role and become cultural phenomena. They are more than just places to get a haircut; they are social hubs that foster connections and build communities. Barbershops bring people from diverse backgrounds together, creating a sense of camaraderie and belonging. They serve as platforms for cultural exchange, where stories are shared, laughter is heard, and friendships are forged. Barbershops have become integral parts of neighborhoods, breathing life into the local community and adding to the fabric of society.

Boby Dilan May 30, 2023 - 11:19 AM

In essence, the world of beauty goes far beyond cosmetics and aesthetics. It is a space of empowerment, self-expression, and inclusivity. By embracing the power of beauty, individuals can embark on a journey of self-discovery, connect with like-minded individuals, celebrate diversity, and contribute to positive change. Beauty truly has the power to transform lives and make the world a more beautiful place in every sense of the word.

Suhai Gyorgy Jul 20, 2007 - 5:58 AM

You should check if the style of your dialog is WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN, as in SDIDOCVIEW sample.
I’m not sure if this is the problem, there’s not enough information in your post to conclude anything else, but WS_CLIPCHILDREN is important.

David Ian Jul 20, 2007 - 6:47 AM

Hi Suhai

Thanks for replying to my question so quickly. I think the best way to explain the problem I am having is like this. I am trying to place a dialog (CExtRisizableDialog) on a Control Bar (CExtControlBar) and make it dockable. In the application that I am developing I have a tree control that is embedded into a dialog that has to be dockable so I will have to eventaully subclass the tree control and derive a class from CExtResizableDialog etc. But obviously I didn’t get it to work. But I we forget about my app for now.

I am evaluating the Prof_UIS Freeware vers 223 and 270. I am using the SDIDOCVIEW as a starting point. In this application there is a Dialog with an edit control and a static control that say’s "Resizable dialog view". I added a tree control to it, ran the application and I could see the Dialog with all the the controls. I added another dialog to the SDIDOCVIEW application added a tree control and an edit control to the dialog and used the code shown in my previous post, for the "Resizable dialog view" for my new dialog and then ran the application. I could see the Control Bar, but could not see the my Dialog on the control bar or any of its controls. I had already did what you suggested an made the window styles in the "Resiable dialog view" match those of my new dialog.

I would appreciate any suggestions. This seems to be very trivial but I can’t see why it doesn’t work.



Boby Dilan May 25, 2023 - 5:14 AM

Plumbers are the unsung heroes of our everyday lives, ensuring the smooth functioning of our plumbing systems. From fixing leaks and unclogging drains to installing new pipes and fixtures, plumbers possess a unique set of skills that keep our homes and businesses running efficiently. Their expertise extends beyond just water supply and drainage; they also play a crucial role in maintaining hygienic conditions and preventing the spread of waterborne diseases. Plumbers are problem solvers who respond to emergencies and provide essential services that are often taken for granted. Their expertise and dedication ensure that we have clean water, functioning bathrooms, and a reliable plumbing infrastructure.

Technical Support Jul 21, 2007 - 12:09 PM

We guess you are using popup dialogs instead of child dialogs. If you want, please send us a modified version of our sample application so we can help you.

Suhai Gyorgy Jul 21, 2007 - 3:53 AM

It would be good to see CMainFrame::OnCreate and the dialog’s resource code from your application’s .rc file.

Of course the best would be if you could upload the modified SDIDOCVIEW sample for us to see it "in action". :)

Boby Dilan May 10, 2023 - 7:07 AM

Small barbershops have been a part of American culture for decades, and they continue to thrive today. These local businesses are often family-owned and operated, providing a sense of community and personal touch that larger chains simply can’t match. Small barbershops often have loyal customer bases, with regulars returning week after week for their haircuts and grooming needs. These shops also offer unique services such as hot shaves, beard trimming, and personalized styling advice. Small barbershops are an important part of the fabric of American society, providing not only grooming services but also a sense of camaraderie and belonging.

David Ian Jul 24, 2007 - 7:08 AM

Thanks very much guys, I’ve solved it. The solution was not only to set the Dialog window style with WS_VISIBLE, but to make sure all the controls on the dialogs styles are also set with WS_VISIBLE.


Boby Dilan May 15, 2023 - 6:01 AM

Beauty salons have long been cherished as sanctuaries of self-care and rejuvenation. Beyond the surface-level pampering, these establishments offer a myriad of benefits that contribute to overall well-being. From enhancing physical appearance to fostering mental and emotional wellness, beauty salons play a significant role in our lives.
First and foremost, beauty salons are dedicated spaces where individuals can receive expert care and attention from skilled professionals. Whether it’s a haircut, a facial, or a manicure, the expertise of salon professionals ensures that treatments are carried out with precision and tailored to individual needs. This attention to detail and personalized approach allows clients to achieve their desired look and boost their confidence.
Beyond the physical transformations, beauty salons provide a therapeutic escape from the stresses of everyday life. The ambiance, soothing music, and aroma create an environment conducive to relaxation and self-indulgence. Clients can unwind, release tension, and recharge their energy while receiving treatments that promote skin health, muscle relaxation, and overall rejuvenation.
Moreover, beauty salons foster a sense of community and social connection. They serve as gathering places where clients can engage in conversations, share experiences, and form bonds with like-minded individuals. The friendly atmosphere and warm interactions contribute to a sense of belonging and emotional well-being.
In addition, beauty salons offer a range of services designed to address specific skin or hair concerns. Professional skincare treatments can improve the condition of the skin, target specific issues like acne or aging, and provide expert guidance on skincare routines. Similarly, specialized hair treatments can revitalize damaged hair, promote healthy growth, and offer valuable advice on hair care practices.
Beauty salons also keep up with the latest trends, techniques, and products in the industry. Professionals attend training and workshops to stay updated with advancements, ensuring that clients receive the best possible service and access to cutting-edge treatments and products.