Computer Games Forum

Go Back   Computer Games Forum > Tech > Software

Notices

Reply
 
LinkBack Thread Tools
Old 01-10-2001, 01:00   #1 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
URGENT! Pt. oricine stie VisualC

Am urmatoarea problema:
Trebuie sa pun pe un Form 10x10=100 de grupuri de controale formate din: 3 Edit box-uri, un buton si un Group box. De la al 61-lea grup de felul asta nu mai merge sa pun NIMIC pe Form-ul cu pricina.
Stie cineva care e faza si ce pot sa fac sa trec de chestia asta?
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 01-10-2001, 02:00   #2 (permalink)
Registered User
 
TheBlueScreens's Avatar
 
Join Date: May 2001
Pare sa fie o limitare a editorului (mie mi se limiteaza la 254 de controale pe dialog, ceea ce aduce foarte mult cu 255==0xFF ).

Poti incerca sa editezi .RC ca text, si sa faci p-acolo copy/paste, dar oricum a avea 10x10x(3+1)=400! de controale pe un dialog este o abordare foarte proasta a problemei. Iti dai seama ca utilizatorul innebuneste cu asa ceva in fata (eu cel putin m-as duce iute sa beau o tuica ).
__________________
Disclaimer:
The author of this post blah, blah... Sau pe scurt: nu garantez ca nu spun tampenii...
 
TheBlueScreens is offline    Reply With Quote
Old 01-10-2001, 02:18   #3 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
Nu e problema mea. Asa a cerut omu sa-i fac, asa ii fac, chiar daca nu-mi place!...
Am incercat sa editez .rc si resource.h manual, dar tot degeaba. Nu vrea sa afiseze... Si tre' sa-l termin pana martzi!
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 01-10-2001, 02:52   #4 (permalink)
Registered User
 
TheBlueScreens's Avatar
 
Join Date: May 2001
Mda... Nasol.

Acum, ai 2 variante:

1. Faci un grup de 10, salvezi, si iei .RC-ul la mana manual si faci copy paste cu tot grupul, si schimbi coordonatele (maresti y-ul cu inaltimea grupului + ceva pentru fiecare control) si ID-urile de fiecare data (o sa innebunesti). Compilezi, testezi, samd.. Fara editor.

2. Faci un property sheet cu 10 pagini, pe fiecare pagina avand 10 grupuri de controale. E un compromis intre ce ar vrea ala (huh!) si cum ar trebui sa fie.

Bafta.
__________________
Disclaimer:
The author of this post blah, blah... Sau pe scurt: nu garantez ca nu spun tampenii...
 
TheBlueScreens is offline    Reply With Quote
Old 03-10-2001, 22:34   #5 (permalink)
Registered User
 
Join Date: May 2001
Location: nowhere
Arrow

Creaza-le dinamic, nu te mai chinui sa le pui la design! Spune-mi daca ai reusit...
__________________
what's cooking here, guys !?
 
psycho too is offline    Reply With Quote
Old 04-10-2001, 08:43   #6 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
N-aveam nici un chef sa le fac dinamic, dar la asta lucrez acu'... Tnx!
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 05-10-2001, 02:55   #7 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
Exclamation

Mda. Mi-a zis cineva ca numarul maxim de controale ce pot fi puse intr-o fereastra este de 256, si asta e chestie de SISTEM DE OPERARE!!! Cam aberant MS, nu?
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 05-10-2001, 03:50   #8 (permalink)
Registered User
 
TheBlueScreens's Avatar
 
Join Date: May 2001
Windmaster:
Gresesti.. Uite atasat un proiect care face 50x50 de edit box-uri... Si merge (cel putin pe Win2000).
Attached Files
File Type: zip controale.zip (11.2 KB, 7 views)
__________________
Disclaimer:
The author of this post blah, blah... Sau pe scurt: nu garantez ca nu spun tampenii...
 
TheBlueScreens is offline    Reply With Quote
Old 05-10-2001, 04:12   #9 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
Thumbs up

Tnx, dar nu am gresit eu...
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 05-10-2001, 05:36   #10 (permalink)
LS
GIS/CAD
 
LS's Avatar
 
Join Date: Apr 1999
Location: TGV
pai fa si tu o initializare a formului la partea de onLoad. eu asa faceam si ma scutea sa mai plasez toate controalele alea pe form. bine, asta prin Visual Basic.
 
LS is offline    Reply With Quote
Old 07-10-2001, 02:51   #11 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
Ce vrei sa spui?
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 08-10-2001, 03:20   #12 (permalink)
Registered User
 
Slider's Avatar
 
Join Date: Dec 1999
Location: A nearby parallel Universe...
Talking

O sa radeti, dar... Am rezolvat.
Problema era ca la editarea manuala a resurselor Trebuia sa scriu pana crapam. Asa ca am facut un... generator de cod!... Stupid, dar am produs o cantitate mare de cod deodata...
__________________
a.k.a. windmaster...
Antec SX 1040BII system enclosure; Intel Pentium III 550E @ 645MHz; MSI 6163 BXMaster; 1.0GB SDRAM PC133; Quantum Fireball CX13.0A+Western Digital Caviar WD800JB+Western Digital Caviar WD400JB; Plextor PX-W4824A+Plextor PX-716A+Toshiba DVD-Rom SD-M1612; Genius SP-G16+Tesla Sound System on Sound Blaster Live! Player 1024; Philips Brilliance 107P20 on Gigabyte Ati Radeon 7000E 32MB DDR; Microsoft Wireless Laser Desktop 6000.
 
Slider is offline    Reply With Quote
Old 08-10-2001, 10:30   #13 (permalink)
Registered User
 
Join Date: May 2001
Location: nowhere
Arrow

Deci ai scris manual codul care le creaza? Sa inteleg ca le-ai creat dinamic si ai multiplicat codul redundant, ca sa ai de scris mai putin? Confirma-mi, te rog.
__________________
what's cooking here, guys !?
 
psycho too is offline    Reply With Quote
Old 08-10-2001, 18:35   #14 (permalink)
Nick anterior: aLeXb
 
Zircon's Avatar
 
Join Date: Mar 1999
Location: Bucuresti
Pe cuvantul meu ca nu as face interfata de la nimic in Visual C++ ! De asta s-au inventat ActiveX-urile
 
Zircon is offline    Reply With Quote
Old 08-10-2001, 23:00   #15 (permalink)
Registered User
 
TheBlueScreens's Avatar
 
Join Date: May 2001
Heh... Sa nu mai aud de OCX (history repeating ), ActiveX sau alte tarasenii de felul asta...

Controalele ActiveX au umratoarele probleme:

1. Alea bune sunt pe bani, alea moca au o gramada de probleme... Si te apuca damblaua cand vine clientul cu o falca in cer si una in pamant ca-i crapa programul in nu stiu ce context si descoperi ca e tocmai un control ActiveX esential pentru aplicatia ta si nu ai ce-i face.

2. Trebuie instalate si intotdeauna se intampla ceva. Sau dezinstaleaza utilizatorul nu stiu ce care dezinstaleaza si controlu', sau il bulibaseste un update la alt program, sau...

De-aia incerc sa fac orice program cat mai putin dependent de orice chestie 3rd party (MFCu' e acceptable, dar oricum de cele mai multe ori il linkez static sa ma apar de nenorociri).
__________________
Disclaimer:
The author of this post blah, blah... Sau pe scurt: nu garantez ca nu spun tampenii...
 
TheBlueScreens is offline    Reply With Quote
Old 10-10-2001, 00:25   #16 (permalink)
Nick anterior: aLeXb
 
Zircon's Avatar
 
Join Date: Mar 1999
Location: Bucuresti
Cu mentiunea ca daca tu esti autorul ActiveX-ului atunci totul e ok. Practic faci programul in Visual C++ sub forma de control ATL si interfata cu VB-ul sau cel iti place tie. Nu sunt singurul care procedeaza asa.
 
Zircon is offline    Reply With Quote
Old 10-10-2001, 01:10   #17 (permalink)
Registered User
 
TheBlueScreens's Avatar
 
Join Date: May 2001
Aah.. ok, asa da. Dar cum lucrez exclusiv VC si nu vand controale , nu e cazul meu.
__________________
Disclaimer:
The author of this post blah, blah... Sau pe scurt: nu garantez ca nu spun tampenii...
 
TheBlueScreens is offline    Reply With Quote
Advertisment
Reply

  Computer Games Forum > Tech > Software

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 03:21.


This site is copyrighted ©1997 - 2009, Computer Games Online SRL