55 Topics

Member Avatar for
Member Avatar for tawes01

I'm making a dialog based text editor, using dev-c++. how can I insert text at the current cursor position? as in get the location of the cursor (not the mouse) and insert text at that point in the edittext control

Member Avatar for tawes01
0
219
Member Avatar for Diamonddrake

A project I am working needed a question style message box, but I wanted that contemporary look of Vista and Seven. I set out to see how it was accomplished, turns out there are some special APIs that exist in Vista and Seven that don't exist in XP that accomplish …

2
221
Member Avatar for tawes01

I have a dialog-based application that just has a big edit box. I want to make a quotation mark bold right when it is typed. How can this be done? I am using dev-c++ 4.9.9.2 (I don't know how to make single characters bold, let alone how to capture the …

Member Avatar for Ancient Dragon
0
141
Member Avatar for SoftwareGuy

Hello. I have a little trivial problem in my application. I have a dialog (d1) that inherits from Form. And in Main, if I call [CODE]d1.ShowDialog()[/CODE] ,it works fine. But calling [CODE]d1.Show()[/CODE] opens a bad form with pale labels and textboxes, and when I try to drag that window form …

Member Avatar for SoftwareGuy
0
123
Member Avatar for Morbane

I have a basic knowledge of C++ but mostly in a limited fashion. I am building an API and I need to send the resulting string to a text box in a Modal Dialog. I will not need to manipulate the string beyond sending it to the text box. The …

Member Avatar for Morbane
0
2K
Member Avatar for fire_

Hello. I'm creating a program with dialog editor. How can i set bitmap on button? I set bitmap at properties to True. I tried to search on google but i could only find how to set bitmap on button created with CButton. Thank you

Member Avatar for mitrmkar
0
573
Member Avatar for Tweed

Alright I am going to try to put this in the least confusing way possible. I have a form that contains multiple textboxes. These textboxes are initially disabled and their text has been grabbed from a file that has been read in. No problems yet. There are 20 lines that …

Member Avatar for codeorder
0
581
Member Avatar for SeanC

I'm creating a word processor similar to Microsoft Word (but much simpler). I'm having a problem with a dialog box. When a user presses the 'new document' button, it prompts the user to enter the file name, and when the user does so, he presses ok, and the file name …

Member Avatar for SeanC
0
148
Member Avatar for embooglement

I am building a simple script editor which I want to function like Notepad, but highlight the scripting language's keywords blue and comments green, like what most IDE's do. I've got my application to essentially match Notepad using the built in EDIT window's class name, but I cannot get specific …

0
82
Member Avatar for NH1

I have an issue i need to get resolved fast. I cant seem to get my Dialog box to run properly. This is the code i have for it. The Problems i have are where the black arrows are. First arrow: "No matching prototype available Second and third arrow: "Invalid …

Member Avatar for Riebens
0
179
Member Avatar for leiger

Basically I've got a text editor which revolves around a jTextArea. There are some settings (e.g. whether line wrap is enabled) that I'd like to save to a file when the application closes, and then load up again when it runs next. I've spent a few hours trying to get …

Member Avatar for leiger
0
193
Member Avatar for tzushky

hi everyone, I have a tiny problem with a simple implementation: - i have a main window with a table in my central widget - i want to add stuff in the table gradually, and I allow only the 1st cell (index 0) of each row to be selectable. - …

Member Avatar for woooee
0
797
Member Avatar for jakkee

hi, I have created an application which allows users to view pictures, basically i want to know if it is possible for the file path to be displayed in a text box and for a user to be able to launch the picture using this file name in the text …

Member Avatar for JOSheaIV
0
134
Member Avatar for TechSupportGeek

Hello world of DaniWeb, I've asked a similar question to this one before but now I'm trying to find an answer to a different problem. You see, I have made a text editing application and, as you might have guessed yourself, I needed to add save features. Well, what I …

Member Avatar for TechSupportGeek
0
170
Member Avatar for Lolalola

Hi, now program show Messagebox and wait user decision. How make, that program don't wait? Show Messagebox, ant keep going.

Member Avatar for Fungus1487
0
120
Member Avatar for Lokeshmsit

Hi, I have a method in my application called "Save as" which Saves the image of my application on computer my into a file. I used the JFileChooser to let the users choose their desired location for saving the file. The problem is unless user explicitly types in the file …

Member Avatar for peter_budo
0
244
Member Avatar for goodwin912

I did a project last year in VB for image processing, basically link to a folder, load an overlay and loop through the folder overlaying a watermark. I now need to get the same thing running in python to cater for cross platform use. I have translated all the image …

Member Avatar for goodwin912
0
149
Member Avatar for musikluver4

[code] //Date: 3/16/2010 import javax.swing.*; class PizzaChoice { public static void main(String[] args) throws Exception { char[] whatSize = { 'S', 'M', 'L', 'X'}; char size; double[] sizePrice = {6.99, 8.99, 12.50, 15.00}; int s; System.out.println("What size do you want?"); size = Character.toUpperCase((char)System.in.read()); for (s = 0; s < whatSize.length; …

Member Avatar for musikluver4
0
947
Member Avatar for pato wlmc

[COLOR="Green"][B]Well, that's it, i'm trying to compile a dialog box:[/B][/COLOR] [CODE] case WM_COMMAND: switch(LOWORD(wParam)) { case ID_HELP_ABOUT: { int ret = DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, [COLOR="Red"]AboutDlgProc);[/COLOR] if(ret == IDOK){ MessageBox(hwnd, "Dialog exited with IDOK.", "Notice", MB_OK | MB_ICONINFORMATION); } else if(ret == IDCANCEL){ MessageBox(hwnd, "Dialog exited with IDCANCEL.", "Notice", MB_OK | …

Member Avatar for mitrmkar
0
573
Member Avatar for sk172online

Hi, I am trying to open the Jquery Dialog box using VB.NET. [B]After the data has been saved successfully[/B], I need the dialog box to show up with the message to the user. Also allow user to perform some other actions like clicking the buttons. If I call the same …

0
106
Member Avatar for wingers1290

Hi, I am using the following code to open a file "Zl2WIN". [code] FileStream filestream2 = new FileStream("ZL2WIN", FileMode.Open); BinaryFormatter bf2 = new BinaryFormatter(); Person JohnDoe = new Person(); JohnDoe = (Person)bf2.Deserialize(filestream2); textBox7.Text = JohnDoe.CallSign; textBox8.Text = JohnDoe.Freq; textBox9.Text = JohnDoe.Time; textBox10.Text = JohnDoe.fName; textBox11.Text = JohnDoe.lName; textBox12.Text = JohnDoe.Country; …

Member Avatar for wingers1290
0
176
Member Avatar for nikeetavanjara

when we use download data() of webclient() , it returns the data in the form of bytes... then this bytes we do response.binarywrite() such that it opens dialog box to "save", "open" , "cancel" is there any way that we can trace programatically, that user has actully save button to …

1
87
Member Avatar for TechSupportGeek

Hello guys, since I'm new here, I did some research to find similar problems but I didn't find what I needed. Well, my problem follows as this: I created a Picture Viewing application in VB.NET and I want to add two functions: a save function and a function that lets …

Member Avatar for sknake
0
145
Member Avatar for sixstorm1

Hi everyone, I have a modal dialog box which is called by the main thread. This dialog has no parent (appears at center screen, overlapped, and shown in taskbar). When the user clicks "Save" in the dialog, the dialog procedure receives the command and displays a save file dialog (GetSaveFileName). …

Member Avatar for sixstorm1
1
229
Member Avatar for selvam543

how to get print dialog box through php. that's mean when i click the submit button named as print . then it will show the print dialog box.

Member Avatar for buddylee17
0
345

The End.