Bob H
April 28th, 1999, 08:55 AM
I am trying to add a CEdit control to a toolbar. I am able to successfully do that but the edit control is flat without a 3D look. I tried using extended window styles but that didn't seem to help.
In desparation, I tried a totally different approach using a horizontal dialog bar to achieve the same effect. The CEdit was obviously OK but I could not successfully get the push buttons to have zero space between them. Even though they were equally aligned horizontally, at least one of the buttons overlapped another by a pixel. Even manually editing the resouce file did not help. It is as though there is a round-off problem in dialog control positioning.
In desparation, I tried a totally different approach using a horizontal dialog bar to achieve the same effect. The CEdit was obviously OK but I could not successfully get the push buttons to have zero space between them. Even though they were equally aligned horizontally, at least one of the buttons overlapped another by a pixel. Even manually editing the resouce file did not help. It is as though there is a round-off problem in dialog control positioning.