box

css help with box models

I need help with the css box models. I have a problem with my website ucare-ph.org . The logo (temporary) is covering the main copy. Now I know someone can tell me the code to fix this. But what I really need is a resource or resources in books or websites that can give me a better understanding of the box model. The syntax is very eas...

re-rendering of combox store in Gwt-Ext

Hi, i've created a Form Panel, and i'm rendering couple of Combo Boxes in the panel with a store which is populated via an response handler. the problem if i want to render the panel again it renders the combo boxes without the store, though i'm re-constructing the panel. i tried to debug to figure out the cause and surprisingly though f...

how do I find the angle of rotation of the major axis of an ellipse given its bounding rectangle?

I have an ellipse centered at (0,0) and the bounding rectangle is x = [-5,5], y = [-6,6]. The ellipse intersects the rectangle at (-5,3),(-2.5,6),(2.5,-6),and (5,-3) I know nothing else about the ellipse, but the only thing I need to know is what angle the major axis is rotated at. seems like the answer must be really simple but I'm ju...

Boundary for comment box

In my java application, I need to create a comment box for the users to add comments. Moreover, I need to provide the user with the provision for resizing and dragging the comment box. For this, I need to show a boundary around the comment box as in the case of comment box in Microsoft Excel which I have shown below: I dont need the c...

How to set Line or Box in front of the image

I've insert image in crystal report by following step, In the Section Expert for the section containing the image, check Underlay Following Sections. but, when some line or box created, the image still in front of them. i can't set Line or Box in front of the image ...

Facebook default profile box fbml

Updated an application on Facebook, and was trying to provide a new image to show up as a box on a user's profile when they add it. I added fbml to the default fbml box on the User Profile tab for the app, but it's still showing the old fbml from the previous app. googling tells me that this is probably a 'feature' of the facebook cach...

How to inherit a MFC dialog box?

Hi all, I have created a dialog box (cMyDialog). I am planning to duplicate cMyDialog and called it cMyDialog2. Can I know in MFC, how can I do inheritance? I want the cMyDialog2 to inherit all the IDDs from cMyDialog1 so that I do not have to copy and paste the codes from cMyDialog1 and cMyDialog2. The purpose of cMyDialog2 is to inhe...

VC++ : How to prevent esc from closing a dialog box (not mfc)

How could I prevent esc from closing a dialog box? I searched for this topic, but all I found was for MFC (You can overwrite PreTranslateMessage function in MFC). but my program is written in Windows API, not MFC. I tried to catch all Keyboard messages in Dialog procedure, but none of them works. I also tried using subclassing in dialo...

HTML textbox, auto highlighting text

How would I make a textbox, containing preexisting text, that when the user clicked within it all the text inside it would become highlighted. For example, the same way YouTube does the textboxes for the embed code on their videos. Thanks ...

Highlight text in messagebox

I need to display a message box but the user needs to be able to highlight and copy the text in the message box. How would I achieve this? FYI this in in C#. ...

PHP MySQL Encoding Bug?

Heres my problem. I have a mysql table called quotes. In one of the rows, a quote contains the folloqing characters ‘ and ’ Now the row collation is utf8__unicode__ci When using MySQL Query Browser and PHPMyAdmin to retrive the rows the quotes come out as intended. How ever when i retrive them from the database using PHP and display ...

How to display boxes over an image with JQuery?

Hi all, I currently have an image that I want people's annotations to show up on, where the annotations actually have an x,y coordinate relative to the image, as well as a width and height. Let's say for now the annotations don't actually have text in them -- they'll just be empty boxes. I'm wondering what the best way to display an em...

Facebook add profile box for iframe app

I have an iframe app that only really has a canvas page. I need to integrate a profile box with this app. A lot of tutorials have you editing the Default FBML under profile box settings, but that option doesn't exist anymore. I'm curious how to set default FBML for my iframe app and how to allow the user to add my app's profile box to...

How do I create an editable databound combo box in a DataGrid in WinForm

I have a noob question. I have a WinForm (.net 2.0 in VS 2008) on my from I have a DataGrid One of the fields in that datagrid is a combo box that is bound to a separate table. this works, but I am unable to edit or add, I cannot add a value that is not on the list. I am looking to create a lookup box for lack of a better term. The ...

editable combo box

hi, first i have to create a editable combo box.combo box contains name age city.user can enter name or age or city. combo box has to filter all the list contain and should show relative list. Eg: combo box contain : xxx 23 ny, yyy 24 London, zzz 25 delhi, uuu 25 columbo. here user enter 25 : combo box has to show zzz ...

C# : How to save a picturebox control as a jpeg file after it's edited

Hi I have a picture box on my windows forms. I load a picture in it and I have enabled Paint Event on my code.It draws a rectangle. Like this; private void pictureBox1_Paint(object sender, PaintEventArgs e) { Graphics gr = e.Graphics; Pen p = new Pen(Color.Red); p.Width = 5.0f; gr.DrawRectangle(p, 1...

How to add SEARCH BOX using XAML

Hi, I have to add a search box, which has dropdown button kind (say it wil have TeamBook and PersonalBook) then when i select TeamBook, the searchbox should get the default data as "SearchTeambook" if not,"SearchpersonalBook". I have to do this using XAML. Please help me in doing this. Thanks Ramm ...

How to re-size a box with CSS or Javascript

Hi, I found by browsing some pages source code that they resize a box using either CSS or Jquery. The code and files are very long so I thought if someone knows how to do this. What's it? On images files, I find a box (designed with an editor), this box has a size of xxx X yyy. A way to use it on a division, is to use it as a backgroun...

CSS Creating a menu-div-box ?

Hi I am trying to create some simple menu links. I tried something like this: <style type="text/css"> div.menulinkboxaround { height: 25px; } a.menulinkbox { font-family: Verdana, Helvetica; padding-left: 50px; padding-left: 50px; padding-bottom: 5px; padding-top: 5px...

MFC OnEnChange handler function - infinite loop

Hi, (I'm using VS++2005) I put edit box control (with ID - ID_edit_box) on my dialog, and associate (with handler wizard) two varibles for it: control (c_editbox) and value (v_editbox) variable. Also I associate handler function OnEnChangeedit_box with that edit box control. Suppose that we may enter just one digit in edit box, and tha...